{"id":"CVE-2021-47558","published":"2024-05-24T15:09:59Z","modified":"2026-05-11T13:56:57Z","title":"net: stmmac: Disable Tx queues when reconfiguring the interface","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: Disable Tx queues when reconfiguring the interface\n\nThe Tx queues were not disabled in situations where the driver needed to\nstop the interface to apply a new configuration. This could result in a\nkernel panic when doing any of the 3 following actions:\n* reconfiguring the number of queues (ethtool -L)\n* reconfiguring the size of the ring buffers (ethtool -G)\n* installing/removing an XDP program (ip l set dev ethX xdp)\n\nPrevent the panic by making sure netif_tx_disable is called when stopping\nan interface.\n\nWithout this patch, the following kernel panic can be observed when doing\nany of the actions above:\n\nUnable to handle kernel paging request at virtual address ffff80001238d040\n[....]\n Call trace:\n  dwmac4_set_addr+0x8/0x10\n  dev_hard_start_xmit+0xe4/0x1ac\n  sch_direct_xmit+0xe8/0x39c\n  __dev_queue_xmit+0x3ec/0xaf0\n  dev_queue_xmit+0x14/0x20\n[...]\n[ end trace 0000000000000002 ]---","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00267,"percentile":0.11804,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a92f0eebb8dc008b9e8c51c6f7b8c93b27a29a43","tags":[]},{"url":"https://git.kernel.org/stable/c/b270bfe697367776eca2e6759a71d700fb8d82a2","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.36}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0366f7e06a6bee7eace3946a6b67fb88b828bc5c, < a92f0eebb8dc008b9e8c51c6f7b8c93b27a29a43",">= 0366f7e06a6bee7eace3946a6b67fb88b828bc5c, < b270bfe697367776eca2e6759a71d700fb8d82a2"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-10T18:51:23.012354Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34560","exploited":false,"provenance":"source"}}