UBUNTU-CVE-2024-35887
Dashboard / Vulnerabilities / UBUNTU-CVE-2024-35887
UBUNTU-CVE-2024-35887
Summary:
Details: In the Linux kernel, the following vulnerability has been resolved: ax25: fix use-after-free bugs caused by ax25_ds_del_timer When the ax25 device is detaching, the ax25_dev_device_down() calls ax25_ds_del_timer() to cleanup the slave_timer. When the timer handler is running, the ax25_ds_del_timer() that calls del_timer() in it will return directly. As a result, the use-after-free bugs could happen, one of the scenarios is shown below: (Thread 1) | (Thread 2) | ax25_ds_timeout() ax25_dev_device_down() | ax25_ds_del_timer() | del_timer() | ax25_dev_put() //FREE | | ax25_dev-> //USE In order to mitigate bugs, when the device is detaching, use timer_shutdown_sync() to stop the timer.
References: https://ubuntu.com/security/CVE-2024-35887, https://www.cve.org/CVERecord?id=CVE-2024-35887, https://git.kernel.org/linus/fd819ad3ecf6f3c232a06b27423ce9ed8c20da89, https://git.kernel.org/stable/c/74204bf9050f7627aead9875fe4e07ba125cb19b, https://git.kernel.org/stable/c/c6a368f9c7af4c14b14d390c2543af8001c9bdb9, https://git.kernel.org/stable/c/fd819ad3ecf6f3c232a06b27423ce9ed8c20da89, https://ubuntu.com/security/notices/USN-6893-1, https://ubuntu.com/security/notices/USN-6893-2, https://ubuntu.com/security/notices/USN-6893-3, https://ubuntu.com/security/notices/USN-6918-1, https://ubuntu.com/security/notices/USN-7288-1, https://ubuntu.com/security/notices/USN-7289-1, https://ubuntu.com/security/notices/USN-7291-1, https://ubuntu.com/security/notices/USN-7288-2, https://ubuntu.com/security/notices/USN-7289-2, https://ubuntu.com/security/notices/USN-7293-1, https://ubuntu.com/security/notices/USN-7294-1, https://ubuntu.com/security/notices/USN-7295-1, https://ubuntu.com/security/notices/USN-7289-3, https://ubuntu.com/security/notices/USN-7305-1, https://ubuntu.com/security/notices/USN-7289-4, https://ubuntu.com/security/notices/USN-7308-1, https://ubuntu.com/security/notices/USN-7294-2, https://ubuntu.com/security/notices/USN-7294-3, https://ubuntu.com/security/notices/USN-7294-4, https://ubuntu.com/security/notices/USN-7331-1, https://ubuntu.com/security/notices/USN-7388-1, https://ubuntu.com/security/notices/USN-7389-1, https://ubuntu.com/security/notices/USN-7390-1, https://ubuntu.com/security/notices/USN-7393-1, https://ubuntu.com/security/notices/USN-7401-1, https://ubuntu.com/security/notices/USN-7413-1, https://ubuntu.com/security/notices/USN-7458-1, https://ubuntu.com/security/notices/USN-7539-1, https://ubuntu.com/security/notices/USN-7540-1
Affected packages
Package
Name: linux
Purl: pkg:deb/ubuntu/linux?arch=source&distro=esm-infra-legacy%2Ftrusty
Affected ranges
Type: ECOSYSTEM
Events:
