CVE-2025-71110 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mm/slub: reset KASAN tag in defer_free() before accessing freed memory When CONFIG_SLUB_TINY is enabled, kfree_nolock() calls kasan_slab_free() before defer_free(). On ARM64 with MTE (Memory Tagging Extension), kasan_slab_free() poisons the memory and changes the tag from the original (e.g., 0xf3) to a poison tag (0xfe). When defer_free() then tries to write to the freed object to build the deferred free list via llist_add(), the pointer still has the old tag, causing a tag mismatch and triggering a KASAN use-after-free report: BUG: KASAN: slab-use-after-free in defer_free+0x3c/0xbc mm/slub.c:6537 Write at addr f3f000000854f020 by task kworker/u8:6/983 Pointer tag: [f3], memory tag: [fe] Fix this by calling kasan_reset_tag() before accessing the freed memory. This is safe because defer_free() is part of the allocator itself and is expected to manipulate freed memory for bookkeeping purposes.
A use-after-free vulnerability has been identified in the Linux kernel's SLUB memory allocator. This issue occurs when the CONFIG_SLUB_TINY option is enabled. In this scenario, the kfree_nolock() function calls kasan_slab_free() before defer_free(). On ARM64 systems with Memory Tagging Extension (MTE), kasan_slab_free() alters the memory tag, replacing the original tag with a poison tag. Consequently, when defer_free() attempts to write to the freed object to update the deferred free list, the pointer retains the old tag, leading to a tag mismatch. This mismatch triggers a KASAN (Kernel Address Sanitizer) use-after-free error, indicating that freed memory is being accessed incorrectly.
The vulnerability has been addressed by modifying the defer_free() function to reset the KASAN tag before accessing the freed memory. This change is safe because defer_free() is part of the memory allocator's internal management and is expected to handle freed memory for bookkeeping purposes.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/53ca00a19d345197a37a1bf552e8d1e7b091666c | kernel.org | Patch |
| https://git.kernel.org/stable/c/65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.18.1, < 6.18.3 6.18 - 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 6.19 rc6 6.19 rc7 6.19 rc8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 25, 2026 | Initial Analysis | [email protected] |
| Jan 14, 2026 | New CVE Received | kernel.org |