9.8critical
phonet: pep: fix use-after-free in pep_get_sb()
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: phonet: pep: fix use-after-free in pep_get_sb() pep_get_sb() doesn't consider that pskb_may_pull() might have relocated the skb data, and continue to access the older pointer, causing UAF. Reproduced under KASAN: BUG: KASAN: slab-use-after-free in pep_get_sb+0x234/0x3b0 Read of size 1 at addr ff11000105510f50 by task repro/157 pep_get_sb+0x234/0x3b0 pipe_handler_do_rcv+0x5f7/0xa10 pep_do_rcv+0x203/0x410 __sk_receive_skb+0x471/0x4a0 phonet_rcv+0x5b3/0x6c0 __netif_receive_skb+0xcc/0x1d0 Refetch the header with skb_header_pointer() after pskb_may_pull(), so the possibly stale pointer is no longer dereferenced. There are better ways to solve this, but, this is the less instrusive one.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9641458d3ec42def729fde64669abf07f3220cd5 before c4a52cb4da8d57d060b1d52085d25147a238dac2, from 9641458d3ec42def729fde64669abf07f3220cd5 before df198743859fefba2f824115f8151dd62d7ad6d8, from 9641458d3ec42def729fde64669abf07f3220cd5 before 1d81e19fc57a5ee55b4497d01bc0510d76fb9578, from 9641458d3ec42def729fde64669abf07f3220cd5 before 8d931a75a38b9bb584a4071f5ebbd52755fc35ee, from 9641458d3ec42def729fde64669abf07f3220cd5 before 17f78c0c0d41d738ee236eb6e841e39395188054, from 9641458d3ec42def729fde64669abf07f3220cd5 before a48a889b60f73edb0399a8b08284a2ab0bd0295f, from 9641458d3ec42def729fde64669abf07f3220cd5 before 25e3641beb51333bfbb155af2fd2573a61113af2, from 9641458d3ec42def729fde64669abf07f3220cd5 before 0f71f852a96af9685858ce59fda34ecbf85c283d and 1 more Not affected: before 2.6.28, from 5.10.265 up to 5.10.*, from 5.15.216 up to 5.15.*, from 6.1.183 up to 6.1.*, from 6.6.148 up to 6.6.*, from 6.12.101 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.28 before 5.10.265, from 5.11 before 5.15.216, from 5.16 before 6.1.183, from 6.2 before 6.6.148, from 6.7 before 6.12.101, from 6.13 before 6.18.42, from 6.19 before 7.1.6, 7.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-68144 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-68144 changed 2026-11-30 | Public domain |