{"id":"CVE-2026-98850","aliases":["CVE-2026-98850"],"related":[],"kind":"vulnerability","state":"published","title":"net/packet: prevent TX_RING byte count overflow","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/packet: prevent TX_RING byte count overflow\n\ntpacket_snd() drains every SEND_REQUEST frame in a TX ring and adds\neach valid packet length to the signed int len_sum. Userspace can\nrecycle completed frames concurrently, so a single blocking send call\nis not bounded by the ring size.\n\nAfter enough successful transmissions len_sum wraps into the negative\nrange. In particular, 65536 65535-byte frames followed by a 65007-byte\nframe produce 0xfffffdef, or -EIOCBQUEUED. sock_sendmsg_nosec() treats\nthat as an impossible return and triggers a BUG. On systems configured\nto panic on oops, a CAP_NET_RAW holder can panic the host kernel.\n\nStop before the next frame would make the byte count exceed INT_MAX.\nThe positive short count leaves that frame pending for a later send\ncall.\n\nA two-thread TPACKET_V2 reproducer triggered the BUG on an arm64 build\nof Linux 7.3-rc4. With this change, the same reproducer returned the\nexpected positive short count without an oops.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/packet: prevent TX_RING byte count overflow\n\ntpacket_snd() drains every SEND_REQUEST frame in a TX ring and adds\neach valid packet length to the signed int len_sum. Userspace can\nrecycle completed frames concurrently, so a single blocking send call\nis not bounded by the ring size.\n\nAfter enough successful transmissions len_sum wraps into the negative\nrange. In particular, 65536 65535-byte frames followed by a 65007-byte\nframe produce 0xfffffdef, or -EIOCBQUEUED. sock_sendmsg_nosec() treats\nthat as an impossible return and triggers a BUG. On systems configured\nto panic on oops, a CAP_NET_RAW holder can panic the host kernel.\n\nStop before the next frame would make the byte count exceed INT_MAX.\nThe positive short count leaves that frame pending for a later send\ncall.\n\nA two-thread TPACKET_V2 reproducer triggered the BUG on an arm64 build\nof Linux 7.3-rc4. With this change, the same reproducer returned the\nexpected positive short count without an oops.","source":"cvelist"}],"published":"2026-10-18T15:50:50.062Z","modified":"2026-10-30T13:21:30.597Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"1e6ee93cea4b77253b1b81eb5759899f959ebee3","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"70fefff0801d4c5405e515592d1e7ad1351530cd","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"4848c175b5984e6358bcca794ac1dee4d527efcc","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"ae169d318d5d23bac76ece90a7e2b5cb760ed043","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"be12b221c0301111eeb023be04add3c6ad7c21fe","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"69ca64bbb528898916f309552053c32a04a36ebc","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"9fd63d284e251332f4874ef9023cde472f315f86","status":"affected"},{"type":"git","introduced":"69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1","fixed":"2cf81fc9505b148b1b70068303ea6ea4b1212403","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.31","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.31","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1e6ee93cea4b77253b1b81eb5759899f959ebee3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70fefff0801d4c5405e515592d1e7ad1351530cd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4848c175b5984e6358bcca794ac1dee4d527efcc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae169d318d5d23bac76ece90a7e2b5cb760ed043","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be12b221c0301111eeb023be04add3c6ad7c21fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69ca64bbb528898916f309552053c32a04a36ebc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9fd63d284e251332f4874ef9023cde472f315f86","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cf81fc9505b148b1b70068303ea6ea4b1212403","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98850","url":"https://www.cve.org/CVERecord?id=CVE-2026-98850","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:11.960Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98850","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98850","licence":"Public domain","modified":"2026-10-30T13:21:30.597Z"}],"updatedAt":"2026-11-25T22:59:45.326Z","epss":{"score":0.00202,"percentile":0.1066,"date":"2026-12-01T12:00:22.000Z"}}