# CVE-2025-68199: codetag: debug: handle existing CODETAG\_EMPTY in mark\_objexts\_empty for slabobj\_ext

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-16T13:48:27.813Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< fc6acd4cddf76e7eb7db63649fe36980ce208f56; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 3f56c407feb967e6faeb4e2e04eaa8edc206a686; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 1abbdf3d57aa964e572940d67c9ec5dc87710738
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

codetag: debug: handle existing CODETAG\_EMPTY in mark\_objexts\_empty for slabobj\_ext

When alloc\_slab\_obj\_exts() fails and then later succeeds in allocating a
slab extension vector, it calls handle\_failed\_objexts\_alloc() to mark all
objects in the vector as empty.  As a result all objects in this slab
(slabA) will have their extensions set to CODETAG\_EMPTY.

Later on if this slabA is used to allocate a slabobj\_ext vector for
another slab (slabB), we end up with the slabB-\>obj\_exts pointing to a
slabobj\_ext vector that itself has a non-NULL slabobj\_ext equal to
CODETAG\_EMPTY.  When slabB gets freed, free\_slab\_obj\_exts() is called to
free slabB-\>obj\_exts vector.  

free\_slab\_obj\_exts() calls mark\_objexts\_empty(slabB-\>obj\_exts) which will
generate a warning because it expects slabobj\_ext vectors to have a NULL
obj\_ext, not CODETAG\_EMPTY.

Modify mark\_objexts\_empty() to skip the warning and setting the obj\_ext
value if it's already set to CODETAG\_EMPTY.


To quickly detect this WARN, I modified the code from
WARN\_ON(slab\_exts\[offs\].ref.ct) to BUG\_ON(slab\_exts\[offs\].ref.ct == 1);

We then obtained this message:

\[21630.898561\] ------------\[ cut here \]------------
\[21630.898596\] kernel BUG at mm/slub.c:2050!
\[21630.898611\] Internal error: Oops - BUG: 00000000f2000800 \[\#1\] SMP
\[21630.900372\] Modules linked in: squashfs isofs vfio\_iommu\_type1 
vhost\_vsock vfio vhost\_net vmw\_vsock\_virtio\_transport\_common vhost tap 
vhost\_iotlb iommufd vsock binfmt\_misc nfsv3 nfs\_acl nfs lockd grace 
netfs tls rds dns\_resolver tun brd overlay ntfs3 exfat btrfs 
blake2b\_generic xor xor\_neon raid6\_pq loop sctp ip6\_udp\_tunnel 
udp\_tunnel nft\_fib\_inet nft\_fib\_ipv4 nft\_fib\_ipv6 nft\_fib 
nft\_reject\_inet nf\_reject\_ipv4 nf\_reject\_ipv6 nft\_reject nft\_ct 
nft\_chain\_nat nf\_nat nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 
nf\_tables rfkill ip\_set sunrpc vfat fat joydev sg sch\_fq\_codel nfnetlink 
virtio\_gpu sr\_mod cdrom drm\_client\_lib virtio\_dma\_buf drm\_shmem\_helper 
drm\_kms\_helper drm ghash\_ce backlight virtio\_net virtio\_blk virtio\_scsi 
net\_failover virtio\_console failover virtio\_mmio dm\_mirror 
dm\_region\_hash dm\_log dm\_multipath dm\_mod fuse i2c\_dev virtio\_pci 
virtio\_pci\_legacy\_dev virtio\_pci\_modern\_dev virtio virtio\_ring autofs4 
aes\_neon\_bs aes\_ce\_blk \[last unloaded: hwpoison\_inject\]
\[21630.909177\] CPU: 3 UID: 0 PID: 3787 Comm: kylin-process-m Kdump: 
loaded Tainted: G        W           6.18.0-rc1+ \#74 PREEMPT(voluntary)
\[21630.910495\] Tainted: \[W\]=WARN
\[21630.910867\] Hardware name: QEMU KVM Virtual Machine, BIOS unknown 
2/2/2022
\[21630.911625\] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS 
BTYPE=--)
\[21630.912392\] pc : \_\_free\_slab+0x228/0x250
\[21630.912868\] lr : \_\_free\_slab+0x18c/0x250\[21630.913334\] sp : 
ffff8000a02f73e0
\[21630.913830\] x29: ffff8000a02f73e0 x28: fffffdffc43fc800 x27: 
ffff0000c0011c40
\[21630.914677\] x26: ffff0000c000cac0 x25: ffff00010fe5e5f0 x24: 
ffff000102199b40
\[21630.915469\] x23: 0000000000000003 x22: 0000000000000003 x21: 
ffff0000c0011c40
\[21630.916259\] x20: fffffdffc4086600 x19: fffffdffc43fc800 x18: 
0000000000000000
\[21630.917048\] x17: 0000000000000000 x16: 0000000000000000 x15: 
0000000000000000
\[21630.917837\] x14: 0000000000000000 x13: 0000000000000000 x12: 
ffff70001405ee66
\[21630.918640\] x11: 1ffff0001405ee65 x10: ffff70001405ee65 x9 : 
ffff800080a295dc
\[21630.919442\] x8 : ffff8000a02f7330 x7 : 0000000000000000 x6 : 
0000000000003000
\[21630.920232\] x5 : 0000000024924925 x4 : 0000000000000001 x3 : 
0000000000000007
\[21630.921021\] x2 : 0000000000001b40 x1 : 000000000000001f x0 : 
0000000000000001
\[21630.921810\] Call trace:
\[21630.922130\]  \_\_free\_slab+0x228/0x250 (P)
\[21630.922669\]  free\_slab+0x38/0x118
\[21630.923079\]  free\_to\_partial\_list+0x1d4/0x340
\[21630.923591\]  \_\_slab\_free+0x24c/0x348
\[21630.924024\]  \_\_\_cache\_free+0xf0/0x110
\[21630.924468\]  qlist\_free\_all+0x78/0x130
\[21630.924922\]  kasan\_quarantine\_reduce+0x11
---truncated---

## Affected and fixed versions

- Linux: \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< fc6acd4cddf76e7eb7db63649fe36980ce208f56; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 3f56c407feb967e6faeb4e2e04eaa8edc206a686; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 1abbdf3d57aa964e572940d67c9ec5dc87710738 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 1abbdf3d57aa964e572940d67c9ec5dc87710738 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68199. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68199.md
Affected: Linux >= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, < fc6acd4cddf76e7eb7db63649fe36980ce208f56; >= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, < 3f56c407feb967e6faeb4e2e04eaa8edc206a686; >= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, < 1abbdf3d57aa964e572940d67c9ec5dc87710738; Linux 6.10
Fixed in: Linux 3f56c407feb967e6faeb4e2e04eaa8edc206a686, Linux 1abbdf3d57aa964e572940d67c9ec5dc87710738

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68199 being exploited?

There is no confirmed exploitation: CVE-2025-68199 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68199?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68199?

Linux \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< fc6acd4cddf76e7eb7db63649fe36980ce208f56; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 3f56c407feb967e6faeb4e2e04eaa8edc206a686; \>= 09c46563ff6d5f090211e48ff1fdba0ec7f4c97f, \< 1abbdf3d57aa964e572940d67c9ec5dc87710738; Linux 6.10.

### Is there a fix for CVE-2025-68199?

Yes. Fixed in Linux 3f56c407feb967e6faeb4e2e04eaa8edc206a686, Linux 1abbdf3d57aa964e572940d67c9ec5dc87710738. Upgrade Linux to 1abbdf3d57aa964e572940d67c9ec5dc87710738 or later.

### How do I check if I'm affected by CVE-2025-68199?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fc6acd4cddf76e7eb7db63649fe36980ce208f56>
- other: <https://git.kernel.org/stable/c/3f56c407feb967e6faeb4e2e04eaa8edc206a686>
- other: <https://git.kernel.org/stable/c/1abbdf3d57aa964e572940d67c9ec5dc87710738>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68199>

HTML: <https://flawdb.com/CVE-2025-68199> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68199>
