Unrated severityNVD Advisory· Published Jun 18, 2025· Updated Dec 23, 2025
bpf: Don't redirect packets with invalid pkt_len
CVE-2022-49975
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.
Affected products
12- osv-coords10 versionspkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012%20SP5pkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/kernel-source&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/kernel-source&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/kernel-syms&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/kernel-syms&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/kgraft-patch-SLE12-SP5_Update_72&distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012%20SP5pkg:rpm/suse/kgraft-patch-SLE12-SP5_Update_73&distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012%20SP5pkg:rpm/suse/kgraft-patch-SLE12-SP5_Update_76&distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2012%20SP5
< 4.12.14-122.272.1+ 9 more
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 4.12.14-122.272.1
- (no CPE)range: < 1-8.3.1
- (no CPE)range: < 1-8.3.1
- (no CPE)range: < 1-8.7.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- git.kernel.org/stable/c/6204bf78b2a903b96ba43afff6abc0b04d6e0462mitre
- git.kernel.org/stable/c/72f2dc8993f10262092745a88cb2dd0fef094f23mitre
- git.kernel.org/stable/c/8b68e53d56697a59b5c53893b53f508bbdf272a0mitre
- git.kernel.org/stable/c/a75987714bd2d8e59840667a28e15c1fa5c47554mitre
- git.kernel.org/stable/c/fd1894224407c484f652ad456e1ce423e89bb3ebmitre
News mentions
0No linked articles in our index yet.