{"id":"CVE-2026-45998","summary":"rxrpc: Fix potential UAF after skb_unshare() failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix potential UAF after skb_unshare() failure\n\nIf skb_unshare() fails to unshare a packet due to allocation failure in\nrxrpc_input_packet(), the skb pointer in the parent (rxrpc_io_thread())\nwill be NULL'd out.  This will likely cause the call to\ntrace_rxrpc_rx_done() to oops.\n\nFix this by moving the unsharing down to where rxrpc_input_call_event()\ncalls rxrpc_input_call_packet().  There are a number of places prior to\nthat where we ignore DATA packets for a variety of reasons (such as the\ncall already being complete) for which an unshare is then avoided.\n\nAnd with that, rxrpc_input_packet() doesn't need to take a pointer to the\npointer to the packet, so change that to just a pointer.","modified":"2026-05-29T04:03:05.310352329Z","published":"2026-05-27T12:55:52.756Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45998.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f2740150f904bfa60e4bad74d65add3ccb5e7f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fde6296c4d4da2be7ab761305ab7f232b94eefd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/996b0487b3cdda4c91811dbb1c9564626bc840bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf20f46d94f1db38e6ffc0ca204a5fe0de01b495"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3bf143b1e98fb3d6d9e6825bcd683974d478e8c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45998.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45998"},{"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":"2d1faf7a0ca3c0b327cf064c80e4e775532c9319"},{"fixed":"e3bf143b1e98fb3d6d9e6825bcd683974d478e8c"},{"fixed":"bf20f46d94f1db38e6ffc0ca204a5fe0de01b495"},{"fixed":"996b0487b3cdda4c91811dbb1c9564626bc840bd"},{"fixed":"8fde6296c4d4da2be7ab761305ab7f232b94eefd"},{"fixed":"1f2740150f904bfa60e4bad74d65add3ccb5e7f8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45998.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.27"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45998.json"}}],"schema_version":"1.7.5"}