CVE-2024-27043

In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvbdev is set equal to dvbdev, which is freed in several error-handling paths. However, *pdvbdev is not set to NULL after dvbdev's deallocation, causing use-after-frees in many places, for example, in the following call chain: budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device |-> dvb_remove_device |-> dvb_device_put |-> kref_put When calling dvb_unregister_device, dmxdev->dvbdev (i.e. *pdvbdev in dvb_register_device) could point to memory that had been freed in dvb_register_device. Thereafter, this pointer is transferred to kref_put and triggering a use-after-free.
References
Link Resource
https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 Patch
https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e Patch
https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d Patch
https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 Patch
https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 Patch
https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 Patch
https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b Patch
https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 Patch
https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 Patch
https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 Patch
https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e Patch
https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d Patch
https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 Patch
https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 Patch
https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 Patch
https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b Patch
https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 Patch
https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Patch
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Dec 2024, 19:13

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-416
References () https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 - () https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 - Patch
References () https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e - () https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e - Patch
References () https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d - () https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d - Patch
References () https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 - () https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 - Patch
References () https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 - () https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 - Patch
References () https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 - () https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 - Patch
References () https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b - () https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b - Patch
References () https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 - () https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 - Patch
References () https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 - () https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html - Patch
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

21 Nov 2024, 09:03

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
References () https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 - () https://git.kernel.org/stable/c/096237039d00c839f3e3a5fe6d001bf0db45b644 -
References () https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e - () https://git.kernel.org/stable/c/0d3fe80b6d175c220b3e252efc6c6777e700e98e -
References () https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d - () https://git.kernel.org/stable/c/35674111a043b0482a9bc69da8850a83f465b07d -
References () https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 - () https://git.kernel.org/stable/c/437a111f79a2f5b2a5f21e27fdec6f40c8768712 -
References () https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 - () https://git.kernel.org/stable/c/779e8db7efb22316c8581d6c229636d2f5694a62 -
References () https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 - () https://git.kernel.org/stable/c/8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 -
References () https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b - () https://git.kernel.org/stable/c/b7586e902128e4fb7bfbb661cb52e4215a65637b -
References () https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 - () https://git.kernel.org/stable/c/d0f5c28333822f9baa5280d813124920720fd856 -
References () https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 - () https://git.kernel.org/stable/c/f20c3270f3ed5aa6919a87e4de9bf6c05fb57086 -

05 Nov 2024, 10:16

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

27 Jun 2024, 12:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -

25 Jun 2024, 22:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: medios: edia: dvbdev: corregir un use-after-free En dvb_register_device, *pdvbdev se establece igual a dvbdev, que se libera en varias rutas de manejo de errores. Sin embargo, *pdvbdev no se establece en NULL después de la desasignación de dvbdev, lo que provoca use-after-free en muchos lugares, por ejemplo, en la siguiente cadena de llamadas: Budget_register |-> dvb_dmxdev_init |-> dvb_register_device |-> dvb_dmxdev_release |-> dvb_unregister_device | -> dvb_remove_device |-> dvb_device_put |-> kref_put Al llamar a dvb_unregister_device, dmxdev->dvbdev (es decir, *pdvbdev en dvb_register_device) podría apuntar a la memoria que se había liberado en dvb_register_device. A partir de entonces, este puntero se transfiere a kref_put y se activa un use-after-free.

01 May 2024, 19:50

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-01 13:15

Updated : 2024-12-23 19:13


NVD link : CVE-2024-27043

Mitre link : CVE-2024-27043

CVE.ORG link : CVE-2024-27043


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free