* Addressing CVE-2024-3446 in qemu versions shipped in debian bullseye and older
@ 2024-12-30 23:21 Santiago Ruano Rincón
2025-01-02 7:43 ` Thomas Huth
0 siblings, 1 reply; 3+ messages in thread
From: Santiago Ruano Rincón @ 2024-12-30 23:21 UTC (permalink / raw)
To: qemu-devel, Alexander Bulekov, Chuhong Yuan
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
Hello there,
(Please CC me since I am not subscribed to the QEMU devel list.)
I am working on backporting some CVE fixes to old Debian versions
(bullseye and previous), and I would like to ask you some help to
confirm if QEMU in those debian releases is affected by CVE-2024-3446 or
not. This is QEMU 5.2, 3.1 and 2.8.
On the 7.2 branch, the following four commits are required to fix
CVE-2024-3446:
https://gitlab.com/qemu-project/qemu/-/commit/e070e5e6748e3217028fa21aa30bb51f862368c8
https://gitlab.com/qemu-project/qemu/-/commit/6d37a308159766cb90ed745cfeb1880937b638ec
https://gitlab.com/qemu-project/qemu/-/commit/e7c2df3fd748a20a8b7a316d186b3ac77551f159
https://gitlab.com/qemu-project/qemu/-/commit/7aaf5f7778de4d75a169ab193f08857eb28db3a4
AFAICS, the qemu_bh_new calls were replaced with qemu_bh_new_guarded in
7.2.6.
Please note that 6d37a308159766cb90ed745cfeb1880937b638ec (and
ba28e0ff4d95b56dc334aac2730ab3651ffc3132) include this bug as reference:
https://bugs.launchpad.net/qemu/+bug/1888606. Could you please confirm
the CVE relates to the same issue?
I am unable to reproduce the issue. I've tried the reproducer found at
6d37a308 and the one from the ubuntu referenced bug. However comment #5
in the ubuntu bug mentions it was reproducible with QEMU 5.0, so I am
confused.
To summarise: it OK to affirm QEMU 5.x and older is unaffected by
CVE-2024-3446?
Thanks in advance, and happy new year!
-- Santiago
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Addressing CVE-2024-3446 in qemu versions shipped in debian bullseye and older
2024-12-30 23:21 Addressing CVE-2024-3446 in qemu versions shipped in debian bullseye and older Santiago Ruano Rincón
@ 2025-01-02 7:43 ` Thomas Huth
2025-01-08 18:16 ` Santiago Ruano Rincón
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2025-01-02 7:43 UTC (permalink / raw)
To: Santiago Ruano Rincón, qemu-devel, Alexander Bulekov,
Chuhong Yuan, Philippe Mathieu-Daudé, Michael Tokarev
On 31/12/2024 00.21, Santiago Ruano Rincón wrote:
> Hello there,
>
> (Please CC me since I am not subscribed to the QEMU devel list.)
>
> I am working on backporting some CVE fixes to old Debian versions
> (bullseye and previous), and I would like to ask you some help to
> confirm if QEMU in those debian releases is affected by CVE-2024-3446 or
> not. This is QEMU 5.2, 3.1 and 2.8.
>
> On the 7.2 branch, the following four commits are required to fix
> CVE-2024-3446:
> https://gitlab.com/qemu-project/qemu/-/commit/e070e5e6748e3217028fa21aa30bb51f862368c8
> https://gitlab.com/qemu-project/qemu/-/commit/6d37a308159766cb90ed745cfeb1880937b638ec
> https://gitlab.com/qemu-project/qemu/-/commit/e7c2df3fd748a20a8b7a316d186b3ac77551f159
> https://gitlab.com/qemu-project/qemu/-/commit/7aaf5f7778de4d75a169ab193f08857eb28db3a4
>
> AFAICS, the qemu_bh_new calls were replaced with qemu_bh_new_guarded in
> 7.2.6.
>
> Please note that 6d37a308159766cb90ed745cfeb1880937b638ec (and
> ba28e0ff4d95b56dc334aac2730ab3651ffc3132) include this bug as reference:
> https://bugs.launchpad.net/qemu/+bug/1888606. Could you please confirm
> the CVE relates to the same issue?
>
> I am unable to reproduce the issue. I've tried the reproducer found at
> 6d37a308 and the one from the ubuntu referenced bug. However comment #5
> in the ubuntu bug mentions it was reproducible with QEMU 5.0, so I am
> confused.
Hi!
Just to double-check: Did you compile your QEMU with address sanitizer
enabled? Otherwise you might not see the issue when running the reproducer.
Thomas
> To summarise: it OK to affirm QEMU 5.x and older is unaffected by
> CVE-2024-3446?
>
> Thanks in advance, and happy new year!
>
> -- Santiago
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Addressing CVE-2024-3446 in qemu versions shipped in debian bullseye and older
2025-01-02 7:43 ` Thomas Huth
@ 2025-01-08 18:16 ` Santiago Ruano Rincón
0 siblings, 0 replies; 3+ messages in thread
From: Santiago Ruano Rincón @ 2025-01-08 18:16 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Alexander Bulekov, Chuhong Yuan,
Philippe Mathieu-Daudé, Michael Tokarev
[-- Attachment #1: Type: text/plain, Size: 2404 bytes --]
El 02/01/25 a las 08:43, Thomas Huth escribió:
> On 31/12/2024 00.21, Santiago Ruano Rincón wrote:
> > Hello there,
> >
> > (Please CC me since I am not subscribed to the QEMU devel list.)
> >
> > I am working on backporting some CVE fixes to old Debian versions
> > (bullseye and previous), and I would like to ask you some help to
> > confirm if QEMU in those debian releases is affected by CVE-2024-3446 or
> > not. This is QEMU 5.2, 3.1 and 2.8.
> >
> > On the 7.2 branch, the following four commits are required to fix
> > CVE-2024-3446:
> > https://gitlab.com/qemu-project/qemu/-/commit/e070e5e6748e3217028fa21aa30bb51f862368c8
> > https://gitlab.com/qemu-project/qemu/-/commit/6d37a308159766cb90ed745cfeb1880937b638ec
> > https://gitlab.com/qemu-project/qemu/-/commit/e7c2df3fd748a20a8b7a316d186b3ac77551f159
> > https://gitlab.com/qemu-project/qemu/-/commit/7aaf5f7778de4d75a169ab193f08857eb28db3a4
> >
> > AFAICS, the qemu_bh_new calls were replaced with qemu_bh_new_guarded in
> > 7.2.6.
> >
> > Please note that 6d37a308159766cb90ed745cfeb1880937b638ec (and
> > ba28e0ff4d95b56dc334aac2730ab3651ffc3132) include this bug as reference:
> > https://bugs.launchpad.net/qemu/+bug/1888606. Could you please confirm
> > the CVE relates to the same issue?
> >
> > I am unable to reproduce the issue. I've tried the reproducer found at
> > 6d37a308 and the one from the ubuntu referenced bug. However comment #5
> > in the ubuntu bug mentions it was reproducible with QEMU 5.0, so I am
> > confused.
>
> Hi!
>
> Just to double-check: Did you compile your QEMU with address sanitizer
> enabled? Otherwise you might not see the issue when running the reproducer.
Hi, and thanks a lot for your answer!
Yes, I am building QEMU with address sanitizer enabled. I am getting
this only ASAN-related warning when running the reproducer:
==8384==WARNING: ASan doesn't fully support makecontext/swapcontext functions and may produce false positives in some cases!
And by your message, I am assuming you are still able to reproduce it.
Please, correct me if I am wrong. I am giving another try to see if I
can get "better" results.
>
> Thomas
>
>
> > To summarise: it OK to affirm QEMU 5.x and older is unaffected by
> > CVE-2024-3446?
> >
> > Thanks in advance, and happy new year!
> >
> > -- Santiago
>
Thanks,
-- Santiago
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-08 18:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-30 23:21 Addressing CVE-2024-3446 in qemu versions shipped in debian bullseye and older Santiago Ruano Rincón
2025-01-02 7:43 ` Thomas Huth
2025-01-08 18:16 ` Santiago Ruano Rincón
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.