DEBIAN-CVE-2026-99755
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- Debian:13 linux
Description
In the Linux kernel, the following vulnerability has been resolved: ptp: fix use-after-free in extts_fifo_show() reading tsevqs unlocked extts_fifo_show() walks ptp->tsevqs with list_count_nodes() and then list_first_entry() without holding ptp->tsevqs_lock, the spinlock that "protects tsevqs from concurrent access". Every other accessor of the list honours it: ptp_open() (list_add_tail), ptp_release() (list_del followed by kfree of the per-fd queue), ptp_clock_release() and ptp_clock_event() all take tsevqs_lock. extts_fifo_show() is the only one that does not. A per-fd timestamp queue is appended to tsevqs on open("/dev/ptpN") and removed and freed on close(), both under tsevqs_lock: scoped_guard(spinlock_irq, &ptp->tsevqs_lock) list_del(&queue->qlist); bitmap_free(queue->mask); kfree(queue); So a read of /sys/class/ptp/ptpN/fifo running concurrently with a close() of a /dev/ptpN fd can have list_count_nodes() walk into the queue that close() is removing and freeing, dereferencing freed memory (use-after-free) or a poisoned list pointer. Take tsevqs_lock around the list walk. The fifo only ever draws from the first queue, which is the registration-time queue created in ptp_clock_
Fixed in
6.12.118-1 · 6.12.118-1~deb12u1 · 7.3.5-1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Debian:12 | linux-6.12 | >=0, <6.12.118-1~deb12u1 | 6.12.118-1~deb12u1 |
| Debian:13 | linux | >=0, <6.12.118-1 | 6.12.118-1 |
| Debian:14 | linux | >=0, <7.3.5-1 | 7.3.5-1 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0