CVE-2026-68144 PUBLISHED

phonet: pep: fix use-after-free in pep_get_sb()

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9641458d3ec42def729fde64669abf07f3220cd5 to 8d931a75a38b9bb584a4071f5ebbd52755fc35ee (excl.)
  • affected from 9641458d3ec42def729fde64669abf07f3220cd5 to 17f78c0c0d41d738ee236eb6e841e39395188054 (excl.)
  • affected from 9641458d3ec42def729fde64669abf07f3220cd5 to a48a889b60f73edb0399a8b08284a2ab0bd0295f (excl.)
  • affected from 9641458d3ec42def729fde64669abf07f3220cd5 to 25e3641beb51333bfbb155af2fd2573a61113af2 (excl.)
  • affected from 9641458d3ec42def729fde64669abf07f3220cd5 to 0f71f852a96af9685858ce59fda34ecbf85c283d (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.28 is affected
  • unaffected from 0 to 2.6.28 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References