CVE-2024-50153
MediumIn the Linux kernel, the following vulnerability has been resolved: scsi: target: core: Fix null-ptr-deref in target_alloc_device() There is a null-ptr-deref issue reported by KASAN: BUG: KASAN: null-ptr-deref in target_alloc_device+0xbc4/0xbe0 [target_core_mod] ... kasan_report+0xb9/0xf0 target_alloc_device+0xbc4/0xbe0 [target_core_mod] core_dev_setup_virtual_lun0+0xef/0x1f0 [target_core_mod] target_core_init_configfs+0x205/0x420 [target_core_mod] do_one_initcall+0xdd/0x4e0 ... entry_SYSCALL_64_after_hwframe+0x76/0x7e In target_alloc_device(), if allocing memory for dev queues fails, then dev will be freed by dev->transport->free_device(), but dev->transport is not initialized at that time, which will lead to a null pointer reference problem. Fixing this bug by freeing dev with hba->backend->ops->free_device().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2024-50153 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.10.180,
5.11
and later are affected. Fixed in
5.10.229,
5.15.170,
6.1.115,
6.6.59,
6.11.6,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50153 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/14a6a2adb440e4ae97bee73b2360946bd033dadd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/39e02fa90323243187c91bb3e8f2f5f6a9aacfc7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/895ab729425ef9bf3b6d2f8d0853abe64896f314
Frequently asked questions
-
What is CVE-2024-50153?
CVE-2024-50153 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 5.10.180 onward and has been patched in 5.10.229, 5.15.170, 6.1.115 and others. CVE-2024-50153 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50153?
CVE-2024-50153 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-50153?
Yes — CVE-2024-50153 has been patched. Fixed versions include 5.10.229, 5.15.170, 6.1.115 and others. If you are running Linux kernel 5.10.180 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50153 actively exploited?
No — CVE-2024-50153 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →