Not scored
bpf: Add bpf_prog_run_data_pointers()
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Add bpf_prog_run_data_pointers() syzbot found that cls_bpf_classify() is able to change tc_skb_cb(skb)->drop_reason triggering a warning in sk_skb_reason_drop(). WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 __sk_skb_reason_drop net/core/skbuff.c:1189 [inline] WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 sk_skb_reason_drop+0x76/0x170 net/core/skbuff.c:1214 struct tc_skb_cb has been added in commit ec624fe740b4 ("net/sched: Extend qdisc control block with tc control block"), which added a wrong interaction with db58ba459202 ("bpf: wire in data and data_end for cls_act_bpf"). drop_reason was added later. Add bpf_prog_run_data_pointers() helper to save/restore the net_sched storage colliding with BPF data_meta/data_end.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0d76daf2013ce1da20eab5e26bd81d983e1c18fb before c4cdd143c35974a2cedd000fa9eb3accc3023b20, from ec624fe740b416fb68d536b37fb8eef46f90b5c2 before 5e149d8a8e732126fb6014efd60075cf63a73f91, from ec624fe740b416fb68d536b37fb8eef46f90b5c2 before baa61dcaa50b7141048c8d2aede7fe9ed8f21d11, from ec624fe740b416fb68d536b37fb8eef46f90b5c2 before 6392e5f4b1a3cce10e828309baf35d22abd3457d, from ec624fe740b416fb68d536b37fb8eef46f90b5c2 before 8dd2fe5f5d586c8e87307b7a271f6b994afcc006, from ec624fe740b416fb68d536b37fb8eef46f90b5c2 before 4ef92743625818932b9c320152b58274c05e5053, from 5.15.13 before 5.15.197, 5.16 Not affected: before 5.16, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*, from 6.12.59 up to 6.12.*, from 6.17.9 up to 6.17.* | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: bpf: Add bpf_prog_run_data_pointers() syzbot found that cls_bpf_classify() is able to change tc_skb_cb(skb)->drop_reason triggering a warning in sk_skb_reason_drop(). WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 __sk_skb_reason_drop net/core/skbuff.c:1189 [inline] WARNING: CPU: 0 PID: 5965 at net/core/skbuff.c:1192 sk_skb_reason_drop+0x76/0x170 net/core/skbuff.c:1214 struct tc_skb_cb has been added in commit ec624fe740b4 ("net/sched: Extend qdisc control block with tc control block"), which added a wrong interaction with db58ba459202 ("bpf: wire in data and data_end for cls_act_bpf"). drop_reason was added later. Add bpf_prog_run_data_pointers() helper to save/restore the net_sched storage colliding with BPF data_meta/data_end.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bpf: Añadir bpf_prog_run_data_pointers() syzbot encontró que cls_bpf_classify() es capaz de cambiar tc_skb_cb(skb) -> drop_reason, lo que activa una advertencia en sk_skb_reason_drop(). ADVERTENCIA: CPU: 0 PID: 5965 en net/core/skbuff.c:1192 __sk_skb_reason_drop net/core/skbuff.c:1189 [en línea] ADVERTENCIA: CPU: 0 PID: 5965 en net/core/skbuff.c:1192 sk_skb_reason_drop+0x76/0x170 net/core/skbuff.c:1214 La estructura tc_skb_cb ha sido añadida en el commit ec624fe740b4 ('net/sched: Extender el bloque de control qdisc con el bloque de control tc'), lo que añadió una interacción incorrecta con db58ba459202 ('bpf: conectar data y data_end para cls_act_bpf'). drop_reason fue añadido posteriormente. Añadir el ayudante bpf_prog_run_data_pointers() para guardar/restaurar el almacenamiento de net_sched que colisiona con BPF data_meta/data_end.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68200 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2025-68200 changed 2026-10-14 | Public domain |