We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49975

bpf: Don't redirect packets with invalid pkt_len



Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Don't redirect packets with invalid pkt_len Syzbot found an issue [1]: fq_codel_drop() try to drop a flow whitout any skbs, that is, the flow->head is null. The root cause, as the [2] says, is because that bpf_prog_test_run_skb() run a bpf prog which redirects empty skbs. So we should determine whether the length of the packet modified by bpf prog or others like bpf_prog_test is valid before forwarding it directly.

Reserved 2025-06-18 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8b68e53d56697a59b5c53893b53f508bbdf272a0
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6204bf78b2a903b96ba43afff6abc0b04d6e0462
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a75987714bd2d8e59840667a28e15c1fa5c47554
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 72f2dc8993f10262092745a88cb2dd0fef094f23
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd1894224407c484f652ad456e1ce423e89bb3eb
affected

Default status
affected

5.4.212
unaffected

5.10.141
unaffected

5.15.65
unaffected

5.19.7
unaffected

6.0
unaffected

References

git.kernel.org/...c/8b68e53d56697a59b5c53893b53f508bbdf272a0

git.kernel.org/...c/6204bf78b2a903b96ba43afff6abc0b04d6e0462

git.kernel.org/...c/a75987714bd2d8e59840667a28e15c1fa5c47554

git.kernel.org/...c/72f2dc8993f10262092745a88cb2dd0fef094f23

git.kernel.org/...c/fd1894224407c484f652ad456e1ce423e89bb3eb

cve.org (CVE-2022-49975)

nvd.nist.gov (CVE-2022-49975)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49975

Support options

Helpdesk Chat, Email, Knowledgebase