ppp: fix stale pointer access after pskb_may_pull in ppp_ccp_peek

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

ppp: fix stale pointer access after pskb_may_pull in ppp_ccp_peek

ppp_ccp_peek() caches a pointer to skb->data in dp after the first pskb_may_pull(), then uses dp after a second pskb_may_pull(skb, len + 2) in the CCP_CONFACK handler. If the second pull triggers pskb_expand_head() due to a cloned skb or frag linearization, skb->head is freed and reallocated, leaving dp stale.

The stale dp is subsequently used in CCP_OPT_LENGTH() and passed to decomp_init()/comp_init() which read from the freed memory.

Re-derive dp from skb->data after the second pskb_may_pull.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4a0400ec02724893cd7d0bd3189c26fe7180df22 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before cd94df54bfe2ea59e3e39347472ef3c6bd5b64b3 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6ca48139d11afb37c15fc79bd6faab4c394cee23 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3ca238522d9d7a5cdfe690a53ff84e1f0e4c4d0e Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e698cc94716650faafaccb51b2b42c853beb1686 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 63c2733ed1fc1d40a6c42577a3e82e0e1323e945 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 87d9db801d7ab49534458d59b5ed4a2802f582d6 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1e860f42f41c6fbf3304f6a52be38245b9394982 Affected
Linux Linux2.6.12 Affectedbefore 2.6.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.