{"id":"CVE-2024-35887","published":"2024-05-19T08:34:43Z","modified":"2026-09-14T11:57:42Z","title":"ax25: fix use-after-free bugs caused by ax25_ds_del_timer","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nax25: fix use-after-free bugs caused by ax25_ds_del_timer\n\nWhen the ax25 device is detaching, the ax25_dev_device_down()\ncalls ax25_ds_del_timer() to cleanup the slave_timer. When\nthe timer handler is running, the ax25_ds_del_timer() that\ncalls del_timer() in it will return directly. As a result,\nthe use-after-free bugs could happen, one of the scenarios\nis shown below:\n\n      (Thread 1)          |      (Thread 2)\n                          | ax25_ds_timeout()\nax25_dev_device_down()    |\n  ax25_ds_del_timer()     |\n    del_timer()           |\n  ax25_dev_put() //FREE   |\n                          |  ax25_dev-> //USE\n\nIn order to mitigate bugs, when the device is detaching, use\ntimer_shutdown_sync() to stop the timer.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00473,"percentile":0.33142,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/28f2d36ac52225a13e020c2589833f1816a0cfc6","tags":[]},{"url":"https://git.kernel.org/stable/c/8a912ef5b7c5d14fb41b9a7935d1df5bb87058bf","tags":[]},{"url":"https://git.kernel.org/stable/c/74204bf9050f7627aead9875fe4e07ba125cb19b","tags":[]},{"url":"https://git.kernel.org/stable/c/c6a368f9c7af4c14b14d390c2543af8001c9bdb9","tags":[]},{"url":"https://git.kernel.org/stable/c/fd819ad3ecf6f3c232a06b27423ce9ed8c20da89","tags":[]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 28f2d36ac52225a13e020c2589833f1816a0cfc6",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a912ef5b7c5d14fb41b9a7935d1df5bb87058bf",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74204bf9050f7627aead9875fe4e07ba125cb19b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c6a368f9c7af4c14b14d390c2543af8001c9bdb9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fd819ad3ecf6f3c232a06b27423ce9ed8c20da89"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-29T18:31:26.964668Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35605","exploited":false,"provenance":"source"}}