{"id":"CVE-2026-22994","aliases":["CVE-2026-22994"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix reference count leak in bpf_prog_test_run_xdp()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix reference count leak in bpf_prog_test_run_xdp()\n\nsyzbot is reporting\n\n  unregister_netdevice: waiting for sit0 to become free. Usage count = 2\n\nproblem. A debug printk() patch found that a refcount is obtained at\nxdp_convert_md_to_buff() from bpf_prog_test_run_xdp().\n\nAccording to commit ec94670fcb3b (\"bpf: Support specifying ingress via\nxdp_md context in BPF_PROG_TEST_RUN\"), the refcount obtained by\nxdp_convert_md_to_buff() will be released by xdp_convert_buff_to_md().\n\nTherefore, we can consider that the error handling path introduced by\ncommit 1c1949982524 (\"bpf: introduce frags support to\nbpf_prog_test_run_xdp()\") forgot to call xdp_convert_buff_to_md().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix reference count leak in bpf_prog_test_run_xdp()\n\nsyzbot is reporting\n\n  unregister_netdevice: waiting for sit0 to become free. Usage count = 2\n\nproblem. A debug printk() patch found that a refcount is obtained at\nxdp_convert_md_to_buff() from bpf_prog_test_run_xdp().\n\nAccording to commit ec94670fcb3b (\"bpf: Support specifying ingress via\nxdp_md context in BPF_PROG_TEST_RUN\"), the refcount obtained by\nxdp_convert_md_to_buff() will be released by xdp_convert_buff_to_md().\n\nTherefore, we can consider that the error handling path introduced by\ncommit 1c1949982524 (\"bpf: introduce frags support to\nbpf_prog_test_run_xdp()\") forgot to call xdp_convert_buff_to_md().","source":"cvelist"},{"lang":"es","text":"Se ha resuelto la siguiente vulnerabilidad en el kernel de Linux:\n\nbpf: Corregir fuga de contador de referencias en bpf_prog_test_run_xdp()\n\nsyzbot está reportando\n\nunregister_netdevice: esperando que sit0 quede libre. Recuento de uso = 2\n\nproblema. Un parche de depuración printk() encontró que se obtiene un contador de referencias en xdp_convert_md_to_buff() desde bpf_prog_test_run_xdp().\n\nSegún el commit ec94670fcb3b ('bpf: Soporte para especificar el ingreso a través del contexto xdp_md en BPF_PROG_TEST_RUN'), el contador de referencias obtenido por xdp_convert_md_to_buff() será liberado por xdp_convert_buff_to_md().\n\nPor lo tanto, podemos considerar que la ruta de manejo de errores introducida por el commit 1c1949982524 ('bpf: introducir soporte de fragmentos en bpf_prog_test_run_xdp()') olvidó llamar a xdp_convert_buff_to_md().","source":"nvd"}],"published":"2026-01-23T15:24:14.749Z","modified":"2026-11-10T13:18:32.157Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1c194998252469cad00a08bd9ef0b99fd255c260","fixed":"368569bc546d3368ee9980ba79fc42fdff9a3365","status":"affected"},{"type":"git","introduced":"1c194998252469cad00a08bd9ef0b99fd255c260","fixed":"98676ee71fd4eafeb8be63c7f3f1905d40e03101","status":"affected"},{"type":"git","introduced":"1c194998252469cad00a08bd9ef0b99fd255c260","fixed":"fb9ef40cccdbacce36029b305d0ef1e12e4fea38","status":"affected"},{"type":"git","introduced":"1c194998252469cad00a08bd9ef0b99fd255c260","fixed":"737be05a765761d7d7c9f7fe92274bd8e6f6951e","status":"affected"},{"type":"git","introduced":"1c194998252469cad00a08bd9ef0b99fd255c260","fixed":"ec69daabe45256f98ac86c651b8ad1b2574489a7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.161","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.121","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.66","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.6","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"6.1.161"},{"status":"affected","introduced":"6.2","fixed":"6.6.121"},{"status":"affected","introduced":"6.7","fixed":"6.12.66"},{"status":"affected","introduced":"6.13","fixed":"6.18.6"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/368569bc546d3368ee9980ba79fc42fdff9a3365","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98676ee71fd4eafeb8be63c7f3f1905d40e03101","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb9ef40cccdbacce36029b305d0ef1e12e4fea38","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/737be05a765761d7d7c9f7fe92274bd8e6f6951e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec69daabe45256f98ac86c651b8ad1b2574489a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:18:06.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22994","url":"https://www.cve.org/CVERecord?id=CVE-2026-22994","licence":"CVE Terms of Use","modified":"2026-11-10T12:41:11.794Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22994","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22994","licence":"Public domain","modified":"2026-11-10T13:18:32.157Z"}],"updatedAt":"2026-11-25T22:59:13.146Z","epss":{"score":0.00201,"percentile":0.05662,"date":"2026-11-30T12:00:22.000Z"}}