{"id":"CVE-2026-64188","summary":"net: qualcomm: rmnet: fix endpoint use-after-free in rmnet_dellink()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qualcomm: rmnet: fix endpoint use-after-free in rmnet_dellink()\n\nrmnet_dellink() removes the endpoint from the hash table with\nhlist_del_init_rcu() and then immediately frees it with kfree(). However,\nRCU readers on the receive path (rmnet_rx_handler -\u003e\n__rmnet_map_ingress_handler) may still hold a reference to the endpoint and\ndereference ep-\u003eegress_dev after the memory has been freed. The endpoint is\na kmalloc-32 object, and the stale read at offset 8 corresponds to the\negress_dev pointer.\n\n  BUG: unable to handle page fault for address: ffffffffde942eef\n  Oops: 0002 [#1] SMP NOPTI\n  CPU: 1 UID: 0 PID: 137 Comm: poc_write Not tainted 7.0.0+ #4 PREEMPTLAZY\n  RIP: 0010:rmnet_vnd_rx_fixup (rmnet_vnd.c:27)\n  Call Trace:\n   \u003cTASK\u003e\n   __rmnet_map_ingress_handler (rmnet_handlers.c:48 rmnet_handlers.c:101)\n   rmnet_rx_handler (rmnet_handlers.c:129 rmnet_handlers.c:235)\n   __netif_receive_skb_core.constprop.0 (net/core/dev.c:6096)\n   __netif_receive_skb_one_core (net/core/dev.c:6208)\n   netif_receive_skb (net/core/dev.c:6467)\n   tun_get_user (drivers/net/tun.c:1955)\n   tun_chr_write_iter (drivers/net/tun.c:2003)\n   vfs_write (fs/read_write.c:688)\n   ksys_write (fs/read_write.c:740)\n   \u003c/TASK\u003e\n\nAdd an rcu_head field to struct rmnet_endpoint and replace kfree() with\nkfree_rcu() so the endpoint memory remains valid through the RCU grace\nperiod. Also remove the rmnet_vnd_dellink() call and inline only the\nnr_rmnet_devs decrement, since rmnet_vnd_dellink() would set\nep-\u003eegress_dev to NULL during the grace period, creating a data race\nwith lockless readers.","modified":"2026-08-01T03:34:21.185406117Z","published":"2026-07-20T16:27:47.216Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64188.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1078ae8175777e80c9637996fb4a46c55f0ce576"},{"type":"WEB","url":"https://git.kernel.org/stable/c/310b93246bfec7d4452507e0c15477377ed9f025"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41e06fcc5df0774d212e70c5b503fc769492bce3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b17adf6d4fb6bf61fa4c3f58366a7c082799a71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9918698cf3aee4032e12bb42fd5a951dc465339b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c4e676c3505c5058922dc1a6f1ded795f6758135"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d00c953a8f69921f484b629801766da68f27f658"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f193e38cb257d033060b63f1cfd94af076b3a2ab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64188.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64188"},{"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":"ceed73a2cf4aff2921802aa3d21d45280677547d"},{"fixed":"c4e676c3505c5058922dc1a6f1ded795f6758135"},{"fixed":"9918698cf3aee4032e12bb42fd5a951dc465339b"},{"fixed":"310b93246bfec7d4452507e0c15477377ed9f025"},{"fixed":"1078ae8175777e80c9637996fb4a46c55f0ce576"},{"fixed":"41e06fcc5df0774d212e70c5b503fc769492bce3"},{"fixed":"8b17adf6d4fb6bf61fa4c3f58366a7c082799a71"},{"fixed":"f193e38cb257d033060b63f1cfd94af076b3a2ab"},{"fixed":"d00c953a8f69921f484b629801766da68f27f658"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64188.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"5.10.260"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.211"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.177"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.144"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.95"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.37"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.14"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64188.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}