# CVE-2025-71110: mm/slub: reset KASAN tag in defer_free() before accessing freed memory

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-01-14T15:05:57.952Z
- Modified: 2026-06-17T10:03:41.037Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from af92793e52c3a99b828ed4bdd277fd3e11c18d08 before 65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d; from af92793e52c3a99b828ed4bdd277fd3e11c18d08 before 53ca00a19d345197a37a1bf552e8d1e7b091666c; 6.18 (not affected: before 6.18; from 6.18.3 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.18.1 before 6.18.3; 6.18; 6.19

## References

- <https://git.kernel.org/stable/c/65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d> (patch)
- <https://git.kernel.org/stable/c/53ca00a19d345197a37a1bf552e8d1e7b091666c> (patch)

## Sources

- CVE List: [CVE-2025-71110](https://www.cve.org/CVERecord?id=CVE-2025-71110), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-71110](https://nvd.nist.gov/vuln/detail/CVE-2025-71110), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-71110 · Whole record: https://cve.day/CVE-2025-71110.json · Rebuilt by cve.day 2026-11-25T22:59:10.610Z
