NULL pointer dereference in Linux kernel - CVE-2025-21798
Published: February 28, 2025 / Updated: May 11, 2025
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to NULL pointer dereference within the device_attr_simple_avc() and device_attr_legacy_avc() functions in drivers/firewire/device-attribute-test.c. A local user can perform a denial of service (DoS) attack.
Affected software
Ubuntu
linux (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-aws (Ubuntu package)
How to mitigate CVE-2025-21798
linux (Ubuntu package) - addressed in versions 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-64.67.1, 6.8.0-64.67.1~22.04.1, 6.8.0-1029.29, 6.8.0-1029.29~22.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30, 6.8.0-1029.30~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1031.34~22.04.1, 6.8.0-1032.34~22.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1031.35
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1033.35, 6.8.0-1033.35~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27
linux-realtime (Ubuntu package) - update to 6.8.1-1025.26
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
linux-aws (Ubuntu package) - update to 6.11.0-1014.15
External References
Related Security Bulletins
- NULL pointer dereference in Linux kernel firewire driver
- Ubuntu update for linux
- Ubuntu update for linux-aws
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-hwe-6.8
- Ubuntu update for linux-realtime
- Ubuntu update for linux
- Ubuntu update for linux-ibm
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-gcp
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure