Wind River Support Network

HomeDefectsLIN1021-7612
Not to be fixed

LIN1021-7612 : Security Advisory - linux - CVE-2023-52509

Created: Mar 2, 2024    Updated: Apr 10, 2024
Resolved Date: Apr 10, 2024
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:

ravb: Fix use-after-free issue in ravb_tx_timeout_work()

The ravb_stop() should call cancel_work_sync(). Otherwise,
ravb_tx_timeout_work() is possible to use the freed priv after
ravb_remove() was called like below:

CPU0                    CPU1
                        ravb_tx_timeout()
ravb_remove()
unregister_netdev()
free_netdev(ndev)
// free priv
                        ravb_tx_timeout_work()
                        // use priv

unregister_netdev() will call .ndo_stop() so that ravb_stop() is
called. And, after phy_stop() is called, netif_carrier_off()
is also called. So that .ndo_tx_timeout() will not be called
after phy_stop().

CREATE(Triage):(User=admin) CVE-2023-52509 (https://nvd.nist.gov/vuln/detail/CVE-2023-52509)
Live chat
Online