CVE-2025-71110
publishedmm/slub: reset KASAN tag in defer_free() before accessing freed memory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf92793e52c3a99b828ed4bdd277fd3e11c18d08 to < 65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d · af92793e52c3a99b828ed4bdd277fd3e11c18d08 to < 53ca00a19d345197a37a1bf552e8d1e7b091666c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af92793e52c3a99b828ed4bdd277fd3e11c18d08 to < 65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d (affected · git)af92793e52c3a99b828ed4bdd277fd3e11c18d08 to < 53ca00a19d345197a37a1bf552e8d1e7b091666c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
mm/slub: reset KASAN tag in defer_free() before accessing freed memory
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea5f6048067f8abd15f72ef261e0dbb087f71667db4f60b9011fe51bc8129472
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record