All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c
@ 2024-04-17 10:29 Greg Kroah-Hartman
  2024-04-29 11:53 ` Juergen Gross
  2024-05-27 10:58 ` CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue Juergen Gross
  0 siblings, 2 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2024-04-17 10:29 UTC (permalink / raw
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

x86/xen: Add some null pointer checking to smp.c

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.

The Linux kernel CVE team has assigned CVE-2024-26908 to this issue.


Affected and fixed versions
===========================

	Fixed in 4.19.311 with commit 70a33a629090
	Fixed in 5.4.273 with commit 025a8a96c7ef
	Fixed in 5.10.214 with commit eb279074bada
	Fixed in 5.15.153 with commit 8082bccb7ac4
	Fixed in 6.1.83 with commit f49c513f46dc
	Fixed in 6.6.23 with commit a9bbb05c0c04
	Fixed in 6.7.11 with commit d211e8128c0e
	Fixed in 6.8 with commit 3693bb4465e6

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2024-26908
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	arch/x86/xen/smp.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/70a33a629090130d731fc1e1ad498bb672eea165
	https://git.kernel.org/stable/c/025a8a96c7ef3ff24a9b4753a7e851ba16f11bfc
	https://git.kernel.org/stable/c/eb279074badac0bbe28749906562d648ca4bc750
	https://git.kernel.org/stable/c/8082bccb7ac480ceab89b09c53d20c78ae54f9fa
	https://git.kernel.org/stable/c/f49c513f46dc19bf01ffad2aaaf234d7f37f6799
	https://git.kernel.org/stable/c/a9bbb05c0c04b49a1f7f05fd03826321dca2b8d4
	https://git.kernel.org/stable/c/d211e8128c0e2122512fa5e859316540349b54af
	https://git.kernel.org/stable/c/3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c
  2024-04-17 10:29 CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c Greg Kroah-Hartman
@ 2024-04-29 11:53 ` Juergen Gross
  2024-04-30  8:11   ` Greg KH
  2024-05-27 10:58 ` CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue Juergen Gross
  1 sibling, 1 reply; 5+ messages in thread
From: Juergen Gross @ 2024-04-29 11:53 UTC (permalink / raw
  To: gregkh
  Cc: cve, linux-cve-announce, linux-kernel,
	xen-devel@lists.xenproject.org, Xen.org security team


[-- Attachment #1.1.1: Type: text/plain, Size: 438 bytes --]

Hi,

I'd like to dispute CVE-2024-26908: the issue fixed by upstream commit
3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2 can in no way be triggered by
an unprivileged user or by a remote attack of the system, as it requires
hotplug of (virtual) cpus to the running system. This can be done only by
either a host admin or by an admin of the guest which might suffer the
out-of-memory situation.

Please revoke this CVE.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c
  2024-04-29 11:53 ` Juergen Gross
@ 2024-04-30  8:11   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2024-04-30  8:11 UTC (permalink / raw
  To: Juergen Gross
  Cc: cve, linux-cve-announce, linux-kernel,
	xen-devel@lists.xenproject.org, Xen.org security team

On Mon, Apr 29, 2024 at 01:53:44PM +0200, Juergen Gross wrote:
> Hi,
> 
> I'd like to dispute CVE-2024-26908: the issue fixed by upstream commit
> 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2 can in no way be triggered by
> an unprivileged user or by a remote attack of the system, as it requires
> hotplug of (virtual) cpus to the running system. This can be done only by
> either a host admin or by an admin of the guest which might suffer the
> out-of-memory situation.
> 
> Please revoke this CVE.

Sorry for the delay, thanks for looking into this and letting us know.
It's now rejected.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue
  2024-04-17 10:29 CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c Greg Kroah-Hartman
  2024-04-29 11:53 ` Juergen Gross
@ 2024-05-27 10:58 ` Juergen Gross
  2024-05-28 19:03   ` Greg KH
  1 sibling, 1 reply; 5+ messages in thread
From: Juergen Gross @ 2024-05-27 10:58 UTC (permalink / raw
  To: gregkh
  Cc: cve, linux-cve-announce, linux-kernel,
	xen-devel@lists.xenproject.org, Xen.org security team


[-- Attachment #1.1.1: Type: text/plain, Size: 455 bytes --]

Hi,

I'd like to dispute CVE-2021-47377: the issue fixed by upstream commit
8480ed9c2bbd56fc86524998e5f2e3e22f5038f6 can in no way be triggered by
an unprivileged user or by a remote attack of the system, as it requires
initiation of memory ballooning of the running system. This can be done
only by either a host admin or by an admin of the guest which might
suffer the detection of the hanging workqueue.

Please revoke this CVE.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3745 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue
  2024-05-27 10:58 ` CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue Juergen Gross
@ 2024-05-28 19:03   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2024-05-28 19:03 UTC (permalink / raw
  To: Juergen Gross
  Cc: cve, linux-cve-announce, linux-kernel,
	xen-devel@lists.xenproject.org, Xen.org security team

On Mon, May 27, 2024 at 12:58:16PM +0200, Juergen Gross wrote:
> Hi,
> 
> I'd like to dispute CVE-2021-47377: the issue fixed by upstream commit
> 8480ed9c2bbd56fc86524998e5f2e3e22f5038f6 can in no way be triggered by
> an unprivileged user or by a remote attack of the system, as it requires
> initiation of memory ballooning of the running system. This can be done
> only by either a host admin or by an admin of the guest which might
> suffer the detection of the hanging workqueue.
> 
> Please revoke this CVE.

Ah, good catch, this came in as part of the GSD import, and I missed
that this required that type of permissions.  Now revoked, thanks for
the review!

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-28 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-17 10:29 CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c Greg Kroah-Hartman
2024-04-29 11:53 ` Juergen Gross
2024-04-30  8:11   ` Greg KH
2024-05-27 10:58 ` CVE-2021-47377: kernel: xen/balloon: use a kernel thread instead a workqueue Juergen Gross
2024-05-28 19:03   ` Greg KH

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.