CVE-2024-48881
MediumIn the Linux kernel, the following vulnerability has been resolved: bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again Commit 028ddcac477b ("bcache: Remove unnecessary NULL point check in node allocations") leads a NULL pointer deference in cache_set_flush(). 1721 if (!IS_ERR_OR_NULL(c->root)) 1722 list_add(&c->root->list, &c->btree_cache); >From the above code in cache_set_flush(), if previous registration code fails before allocating c->root, it is possible c->root is NULL as what it is initialized. __bch_btree_node_alloc() never returns NULL but c->root is possible to be NULL at above line 1721. This patch replaces IS_ERR() by IS_ERR_OR_NULL() to fix this.
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-48881 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.4.251,
5.10.188,
5.15.121,
6.1.39,
4.19.291,
6.4.4,
6.5
and later are affected. Fixed in
5.4.287,
5.10.231,
5.15.174,
6.1.120,
6.6.66,
6.12.5,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-48881 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/336e30f32ae7c043fde0f6fa21586ff30bea9fe2
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4379c5828492a4c2a651c8f826a01453bd2b80b0
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5202391970ffbf81975251b3526b890ba027b715
Frequently asked questions
-
What is CVE-2024-48881?
CVE-2024-48881 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.4.251 onward and has been patched in 5.4.287, 5.10.231, 5.15.174 and others. CVE-2024-48881 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-48881?
CVE-2024-48881 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-48881?
Yes — CVE-2024-48881 has been patched. Fixed versions include 5.4.287, 5.10.231, 5.15.174 and others. If you are running Linux kernel 5.4.251 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-48881 actively exploited?
No — CVE-2024-48881 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 →