{"id":"CVE-2026-98911","summary":"dpaa2-switch: fix the error path in dpaa2_switch_rx()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: fix the error path in dpaa2_switch_rx()\n\nIn case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd()\nfunction is called in order to free the FD. This is incorrect since the\ndpaa2_switch_free_fd() is intended to be used on Tx frame descriptors,\nmeaning that it expects in the software annotation area of the FD data\nto find a valid skb pointer on which to call dev_kfree_skb().\n\nFix this by extracting the dma_unmap_page() from\ndpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx()\nfunction. This allows us to directly use free_pages() in case of an\nerror before an SKB was created and kfree_skb() afterwards.","modified":"2026-10-28T02:36:02.124469300Z","published":"2026-10-23T11:54:57.029Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98911.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/259ad6093204b999d41e7e6d0ad90ef9a71a44ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/791068c962469af0090e1a1ee63657fb9eef40db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa232b4496cb59503ae5108c756cbe10e59b0bc3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98911.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98911"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"613c0a5810b79610db8535c3816b0c149675f8ee"},{"fixed":"791068c962469af0090e1a1ee63657fb9eef40db"},{"fixed":"ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8"},{"fixed":"259ad6093204b999d41e7e6d0ad90ef9a71a44ab"},{"fixed":"f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1"},{"fixed":"fa232b4496cb59503ae5108c756cbe10e59b0bc3"},{"fixed":"74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98911.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98911.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}