Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-49885 on Ubuntu — linux

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

In the Linux kernel, the following vulnerability has been resolved: mm, slub: avoid zeroing kmalloc redzone Since commit 946fa0dbf2d8 ("mm/slub: extend redzone check to extra allocated kmalloc space than requested"), setting orig_size treats the wasted space (object_size - orig_size) as a redzone. However with init_on_free=1 we clear the full object->size, including the redzone. Additionally we clear the object metadata, including the stored orig_size, making it zero, which makes check_object() treat the whole object as a redzone. These issues lead to the following BUG report with "slub_debug=FUZ init_on_free=1": [ 0.000000] ============================================================================= [ 0.000000] BUG kmalloc-8 (Not tainted): kmalloc Redzone overwritten [ 0.000000] ----------------------------------------------------------------------------- [ 0.000000] [ 0.000000] 0xffff000010032858-0xffff00001003285f @offset=2136. First byte 0x0 instead of 0xcc [ 0.000000] FIX kmalloc-8: Restoring kmalloc Redzone 0xffff000010032858-0xffff00001003285f=0xcc [ 0.000000] Slab 0xfffffdffc0400c80 objects=36 used=23 fp=0xffff000010032a18 flags=0x3fffe0000000200(workingset|node=0|zone=0|lastcpupid=0x1ffff) [ 0.000000] Object 0xffff000010032858 @offset=2136 fp=0xffff0000100328c8 [ 0.000000] [ 0.000000] Redzone ffff000010032850: cc cc cc cc cc cc cc cc ........ [ 0.000000] Object ffff000010032858: cc cc cc cc cc cc cc cc ........ [ 0.000000] Redzone ffff000010032860: cc cc cc cc cc cc cc cc ........ [ 0.000000] Padding ffff0000100328b4: 00 00 00 00 00 00 00 00 00 00 00 00 ............ [ 0.000000] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.11.0-rc3-next-20240814-00004-g61844c55c3f4 #144 [ 0.000000] Hardware name: NXP i.MX95 19X19 board (DT) [ 0.000000] Call trace: [ 0.000000] dump_backtrace+0x90/0xe8 [ 0.000000] show_stack+0x18/0x24 [ 0.000000] dump_stack_lvl+0x74/0x8c [ 0.000000] dump_stack+0x18/0x24 [ 0.000000] print_trailer+0x150/0x218 [ 0.000000] check_object+0xe4/0x454 [ 0.000000] free_to_partial_list+0x2f8/0x5ec To address the issue, use orig_size to clear the used area. And restore the value of orig_size after clear the remaining area. When CONFIG_SLUB_DEBUG not defined, (get_orig_size()' directly returns s->object_size. So when using memset to init the area, the size can simply be orig_size, as orig_size returns object_size when CONFIG_SLUB_DEBUG not enabled. And orig_size can never be bigger than object_size.

Distribution advisory

This page covers CVE-2024-49885 as tracked by Ubuntu, for the package linux. The fix is available in version 6.8.0-54.56; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

UBUNTU-CVE-2024-49885 is recorded against 94 packages.

  • linux (fixed in 6.8.0-54.56)
  • linux-allwinner-5.19
  • linux-aws (fixed in 6.8.0-1023.25)
  • linux-aws-5.0
  • linux-aws-5.11
  • linux-aws-5.13
  • linux-aws-5.19
  • linux-aws-5.3
  • linux-aws-5.8
  • linux-aws-6.2
  • linux-aws-6.5
  • linux-aws-6.8 (fixed in 6.8.0-1023.25~22.04.1)
  • linux-azure (fixed in 6.8.0-1025.30)
  • linux-azure-5.11
  • linux-azure-5.13
  • linux-azure-5.19
  • linux-azure-5.3
  • linux-azure-5.8
  • linux-azure-6.2
  • linux-azure-6.5
  • linux-azure-6.8 (fixed in 6.8.0-1025.30~22.04.1)
  • linux-azure-edge
  • linux-azure-fde
  • linux-azure-fde-5.19
Show the remaining 70 packages
  • linux-azure-fde-6.2
  • linux-gcp (fixed in 6.8.0-1024.26)
  • linux-gcp-5.11
  • linux-gcp-5.13
  • linux-gcp-5.19
  • linux-gcp-5.3
  • linux-gcp-5.8
  • linux-gcp-6.2
  • linux-gcp-6.5
  • linux-gcp-6.8 (fixed in 6.8.0-1024.26~22.04.1)
  • linux-gke (fixed in 6.8.0-1019.23)
  • linux-gke-4.15
  • linux-gke-5.15
  • linux-gke-5.4
  • linux-gkeop (fixed in 6.8.0-1006.8)
  • linux-gkeop-5.4
  • linux-hwe
  • linux-hwe-5.11
  • linux-hwe-5.13
  • linux-hwe-5.19
  • linux-hwe-5.8
  • linux-hwe-6.2
  • linux-hwe-6.5
  • linux-hwe-6.8 (fixed in 6.8.0-57.59~22.04.1)
  • linux-hwe-edge
  • linux-ibm (fixed in 6.8.0-1022.22)
  • linux-intel-5.13
  • linux-intel-iot-realtime
  • linux-lowlatency (fixed in 6.8.0-54.56.1)
  • linux-lowlatency-hwe-5.19
  • linux-lowlatency-hwe-6.2
  • linux-lowlatency-hwe-6.5
  • linux-lowlatency-hwe-6.8 (fixed in 6.8.0-54.56.1~22.04.1)
  • linux-nvidia (fixed in 6.8.0-1022.25)
  • linux-nvidia-6.2
  • linux-nvidia-6.5
  • linux-nvidia-6.8 (fixed in 6.8.0-1022.25~22.04.2)
  • linux-nvidia-lowlatency (fixed in 6.8.0-1022.25.2)
  • linux-oem
  • linux-oem-5.10
  • linux-oem-5.13
  • linux-oem-5.14
  • linux-oem-5.17
  • linux-oem-5.6
  • linux-oem-6.0
  • linux-oem-6.1
  • linux-oem-6.11 (fixed in 6.11.0-1015.15)
  • linux-oem-6.5
  • linux-oem-6.8 (fixed in 6.8.0-1024.24)
  • linux-oracle (fixed in 6.8.0-1020.21)
  • linux-oracle-5.0
  • linux-oracle-5.11
  • linux-oracle-5.13
  • linux-oracle-5.3
  • linux-oracle-5.8
  • linux-oracle-6.5
  • linux-oracle-6.8 (fixed in 6.8.0-1020.21~22.04.1)
  • linux-raspi (fixed in 6.8.0-1019.23)
  • linux-raspi-realtime (fixed in 6.8.0-2018.19)
  • linux-raspi2
  • linux-realtime (fixed in 6.8.1-1016.17)
  • linux-riscv (fixed in 6.8.0-53.55.1)
  • linux-riscv-5.11
  • linux-riscv-5.19
  • linux-riscv-5.8
  • linux-riscv-6.5
  • linux-riscv-6.8 (fixed in 6.8.0-53.55.1~22.04.1)
  • linux-starfive-5.19
  • linux-starfive-6.2
  • linux-starfive-6.5

Timeline and source

Published on 21 October 2024 and last revised on 22 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

Other advisories for this package

linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-49885 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-10-21
Updated 2026-08-20
Modified 2026-04-22
Fix URL N/A

Affected Packages

Software From version Fixed in
linux — 6.8.0-54.56
linux-allwinner-5.19 — —
linux-aws — 6.8.0-1023.25
linux-aws-5.0 — —
linux-aws-5.11 — —
linux-aws-5.13 — —
linux-aws-5.19 — —
linux-aws-5.3 — —
linux-aws-5.8 — —
linux-aws-6.2 — —
linux-aws-6.5 — —
linux-aws-6.8 — 6.8.0-1023.25~22.04.1
linux-azure — 6.8.0-1025.30
linux-azure-5.11 — —
linux-azure-5.13 — —
linux-azure-5.19 — —
linux-azure-5.3 — —
linux-azure-5.8 — —
linux-azure-6.2 — —
linux-azure-6.5 — —
linux-azure-6.8 — 6.8.0-1025.30~22.04.1
linux-azure-edge — —
linux-azure-fde — —
linux-azure-fde-5.19 — —
linux-azure-fde-6.2 — —
linux-gcp — 6.8.0-1024.26
linux-gcp-5.11 — —
linux-gcp-5.13 — —
linux-gcp-5.19 — —
linux-gcp-5.3 — —
linux-gcp-5.8 — —
linux-gcp-6.2 — —
linux-gcp-6.5 — —
linux-gcp-6.8 — 6.8.0-1024.26~22.04.1
linux-gke — 6.8.0-1019.23
linux-gke-4.15 — —
linux-gke-5.15 — —
linux-gke-5.4 — —
linux-gkeop — 6.8.0-1006.8
linux-gkeop-5.4 — —
linux-hwe — —
linux-hwe-5.11 — —
linux-hwe-5.13 — —
linux-hwe-5.19 — —
linux-hwe-5.8 — —
linux-hwe-6.2 — —
linux-hwe-6.5 — —
linux-hwe-6.8 — 6.8.0-57.59~22.04.1
linux-hwe-edge — —
linux-ibm — 6.8.0-1022.22
linux-intel-5.13 — —
linux-intel-iot-realtime — —
linux-lowlatency — 6.8.0-54.56.1
linux-lowlatency-hwe-5.19 — —
linux-lowlatency-hwe-6.2 — —
linux-lowlatency-hwe-6.5 — —
linux-lowlatency-hwe-6.8 — 6.8.0-54.56.1~22.04.1
linux-nvidia — 6.8.0-1022.25
linux-nvidia-6.2 — —
linux-nvidia-6.5 — —
linux-nvidia-6.8 — 6.8.0-1022.25~22.04.2
linux-nvidia-lowlatency — 6.8.0-1022.25.2
linux-oem — —
linux-oem-5.10 — —
linux-oem-5.13 — —
linux-oem-5.14 — —
linux-oem-5.17 — —
linux-oem-5.6 — —
linux-oem-6.0 — —
linux-oem-6.1 — —
linux-oem-6.11 — 6.11.0-1015.15
linux-oem-6.5 — —
linux-oem-6.8 — 6.8.0-1024.24
linux-oracle — 6.8.0-1020.21
linux-oracle-5.0 — —
linux-oracle-5.11 — —
linux-oracle-5.13 — —
linux-oracle-5.3 — —
linux-oracle-5.8 — —
linux-oracle-6.5 — —
linux-oracle-6.8 — 6.8.0-1020.21~22.04.1
linux-raspi — 6.8.0-1019.23
linux-raspi-realtime — 6.8.0-2018.19
linux-raspi2 — —
linux-realtime — 6.8.1-1016.17
linux-riscv — 6.8.0-53.55.1
linux-riscv-5.11 — —
linux-riscv-5.19 — —
linux-riscv-5.8 — —
linux-riscv-6.5 — —
linux-riscv-6.8 — 6.8.0-53.55.1~22.04.1
linux-starfive-5.19 — —
linux-starfive-6.2 — —
linux-starfive-6.5 — —

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in linux

UBUNTU-CVE-2024-49885 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2024
✓