CVE-2021-47321: watchdog: Fix possible use-after-free by calling del_timer_sync()

Published May 21, 2024
·
Updated

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

watchdog: Fix possible use-after-free by calling deltimersync()

The Linux kernel CVE team has assigned CVE-2021-47321 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052132-CVE-2021-47321-1b9b@gregkh/T

Other sources

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

watchdog: Fix possible use-after-free by calling deltimersync()

This driver's remove path calls deltimer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free.

Fix by calling deltimersync(), which makes sure the timer handler has finished, and unable to re-schedule itself.

NVD

Affected Software

21 affected componentsFixes available
redhat/kernel<4.4.276
4.4.276
redhat/kernel<4.9.276
4.9.276
redhat/kernel<4.14.240
4.14.240
redhat/kernel<4.19.198
4.19.198
redhat/kernel<5.4.134
5.4.134
redhat/kernel<5.10.52
5.10.52
redhat/kernel<5.12.19
5.12.19
redhat/kernel<5.13.4
5.13.4
redhat/kernel<5.14
5.14
Linux Linux kernel<4.4.276
Linux Linux kernel>=4.5<4.9.276
Linux Linux kernel>=4.10<4.14.240
Linux Linux kernel>=4.15<4.19.198
Linux Linux kernel>=4.20<5.4.134
Linux Linux kernel>=5.5<5.10.52
Linux Linux kernel>=5.11<5.12.9
Linux Linux kernel>=5.13<5.13.4
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

May 21, 2024
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
Description
May 22, 2024
Data Sourced
via Red Hat·12:00 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-47321?

CVE-2021-47321 has been classified with high severity due to the potential for use-after-free vulnerabilities in the Linux kernel.

2

How do I fix CVE-2021-47321?

To fix CVE-2021-47321, upgrade your Linux kernel to versions 4.4.276, 4.9.276, 4.14.240, 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, or 5.14 or later.

3

What impact does CVE-2021-47321 have on system security?

The impact of CVE-2021-47321 could allow an attacker to exploit memory management flaws, potentially leading to system crashes or arbitrary code execution.

4

Which versions of the Linux kernel are affected by CVE-2021-47321?

CVE-2021-47321 affects multiple Linux kernel versions prior to 4.4.276, 4.9.276, 4.14.240, 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, and 5.14.

5

Is there a specific patch for CVE-2021-47321?

There is no specific patch; the recommended action is to upgradeto a fixed version of the kernel as listed in the mitigations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203