{"id":"CVE-2026-139139","state":"PUBLISHED","title":"ppp: linearize and segment bridged packets when required","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nppp: linearize and segment bridged packets when required\n\nPPP channel bridging hands packets received on one channel directly to\nthe start_xmit() of another. Packets received by PPPoE can be\nnon-linear, GSO since commit 55a5d8fca836 (\"net: pppoe: implement\nGRO/GSO support\"), or CHECKSUM_PARTIAL when injected with a\nvirtio_net_hdr. The regular transmit path never sees such packets, and\nonly PPPoE, which uses dev_queue_xmit(), handles them:\n\n- PPP Async reads the whole packet through skb->data, transmitting\n  unrelated memory for non-linear packets.\n- PPP Async and Sync send GSO packets as single frames of up to 64KB,\n  and CHECKSUM_PARTIAL packets with a bad L4 checksum.\n- PPTP and L2TP cannot segment a TCP GSO packet once their GRE or UDP\n  header is pushed, and do not finish pending checksums.\n\nAdd a xmit_offload flag to struct ppp_channel, set for PPPoE. For other\nchannels, segment GSO packets in software, using the PPP protocol field\nas the L2 header, finish CHECKSUM_PARTIAL checksums (including SCTP\nCRC32c), and linearize packets for channels without direct_xmit, as\nppp_push() does. Packets are dropped if any step fails, or if the\nchannel is busy, as before.\n\nskb->dev is NULL at this point for PPPoE (cleared by __sk_receive_skb()),\nand tunnel and IPv6 UFO GSO handlers dereference it: only TCP, UDP L4\nand fraglist GSO packets without encapsulation are segmented, others\nare dropped.\n\nReceive paths like L2TP pull headers without updating the checksum\nstate, possibly leaving a CHECKSUM_PARTIAL state with csum_start before\nskb->data. Reset it to CHECKSUM_NONE, as skb_postpull_rcsum() does, so\nthat skb_checksum_help() does not warn, and so that PPPoE does not\noffload a checksum at a wrong offset.\n\nTested in a VM by bridging PPPoE (on a TAP with IFF_NAPI_FRAGS, or on\nveth) to PPP Async on a PTY, PPPoL2TP and PPPoE: non-linear packets no\nlonger leak garbage, GSO packets (including fraglist GRO) are sent as\nvalid segments for IPv4 and IPv6, CHECKSUM_PARTIAL packets get a valid\nchecksum, and PPPoE still receives GSO packets unchanged.","publishedAt":"2026-11-30T13:31:56.523Z","updatedAt":"2026-11-30T13:31:56.523Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"d00e49e4021fab9e605f3ce2a8f7aa3d1d659b23","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"cb4159f1bac4fc324d809faaf31eef4fe4e7bb73","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"5e5dcd56f86d2c65f4c5331ac5035dd8033a1d3b","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"0de4e69cd021c99d0aa13e1f30aafd13ad74a2a5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ppp/ppp_generic.c","drivers/net/ppp/pppoe.c","include/linux/ppp_channel.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ppp/ppp_generic.c","drivers/net/ppp/pppoe.c","include/linux/ppp_channel.h"]}],"references":["https://git.kernel.org/stable/c/d00e49e4021fab9e605f3ce2a8f7aa3d1d659b23","https://git.kernel.org/stable/c/cb4159f1bac4fc324d809faaf31eef4fe4e7bb73","https://git.kernel.org/stable/c/5e5dcd56f86d2c65f4c5331ac5035dd8033a1d3b","https://git.kernel.org/stable/c/0de4e69cd021c99d0aa13e1f30aafd13ad74a2a5"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139139.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139139","state":"PUBLISHED","datePublished":"2026-11-30T13:31:56.523Z","dateUpdated":"2026-11-30T13:31:56.523Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.916Z"},"containers":{"cna":{"title":"ppp: linearize and segment bridged packets when required","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nppp: linearize and segment bridged packets when required\n\nPPP channel bridging hands packets received on one channel directly to\nthe start_xmit() of another. Packets received by PPPoE can be\nnon-linear, GSO since commit 55a5d8fca836 (\"net: pppoe: implement\nGRO/GSO support\"), or CHECKSUM_PARTIAL when injected with a\nvirtio_net_hdr. The regular transmit path never sees such packets, and\nonly PPPoE, which uses dev_queue_xmit(), handles them:\n\n- PPP Async reads the whole packet through skb->data, transmitting\n  unrelated memory for non-linear packets.\n- PPP Async and Sync send GSO packets as single frames of up to 64KB,\n  and CHECKSUM_PARTIAL packets with a bad L4 checksum.\n- PPTP and L2TP cannot segment a TCP GSO packet once their GRE or UDP\n  header is pushed, and do not finish pending checksums.\n\nAdd a xmit_offload flag to struct ppp_channel, set for PPPoE. For other\nchannels, segment GSO packets in software, using the PPP protocol field\nas the L2 header, finish CHECKSUM_PARTIAL checksums (including SCTP\nCRC32c), and linearize packets for channels without direct_xmit, as\nppp_push() does. Packets are dropped if any step fails, or if the\nchannel is busy, as before.\n\nskb->dev is NULL at this point for PPPoE (cleared by __sk_receive_skb()),\nand tunnel and IPv6 UFO GSO handlers dereference it: only TCP, UDP L4\nand fraglist GSO packets without encapsulation are segmented, others\nare dropped.\n\nReceive paths like L2TP pull headers without updating the checksum\nstate, possibly leaving a CHECKSUM_PARTIAL state with csum_start before\nskb->data. Reset it to CHECKSUM_NONE, as skb_postpull_rcsum() does, so\nthat skb_checksum_help() does not warn, and so that PPPoE does not\noffload a checksum at a wrong offset.\n\nTested in a VM by bridging PPPoE (on a TAP with IFF_NAPI_FRAGS, or on\nveth) to PPP Async on a PTY, PPPoL2TP and PPPoE: non-linear packets no\nlonger leak garbage, GSO packets (including fraglist GRO) are sent as\nvalid segments for IPv4 and IPv6, CHECKSUM_PARTIAL packets get a valid\nchecksum, and PPPoE still receives GSO packets unchanged."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"d00e49e4021fab9e605f3ce2a8f7aa3d1d659b23","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"cb4159f1bac4fc324d809faaf31eef4fe4e7bb73","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"5e5dcd56f86d2c65f4c5331ac5035dd8033a1d3b","versionType":"git"},{"version":"4cf476ced45d7f12df30a68e833b263e7a2202d1","status":"affected","lessThan":"0de4e69cd021c99d0aa13e1f30aafd13ad74a2a5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ppp/ppp_generic.c","drivers/net/ppp/pppoe.c","include/linux/ppp_channel.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ppp/ppp_generic.c","drivers/net/ppp/pppoe.c","include/linux/ppp_channel.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/d00e49e4021fab9e605f3ce2a8f7aa3d1d659b23"},{"url":"https://git.kernel.org/stable/c/cb4159f1bac4fc324d809faaf31eef4fe4e7bb73"},{"url":"https://git.kernel.org/stable/c/5e5dcd56f86d2c65f4c5331ac5035dd8033a1d3b"},{"url":"https://git.kernel.org/stable/c/0de4e69cd021c99d0aa13e1f30aafd13ad74a2a5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:56.523Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}