Advisory Published

USN-5240-1: Linux kernel vulnerability

First published: Wed Jan 19 2022(Updated: )

William Liu and Jamie Hill-Daniel discovered that the file system context functionality in the Linux kernel contained an integer underflow vulnerability, leading to an out-of-bounds write. A local attacker could use this to cause a denial of service (system crash) or execute arbitrary code.

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/linux-image-virtual<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-27-generic-lpae<5.13.0-27.29
5.13.0-27.29
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1015-raspi-nolpae<5.13.0-1015.17
5.13.0-1015.17
Ubuntu=21.10
All of
ubuntu/linux-image-generic-64k<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-generic<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1012-azure<5.13.0-1012.14
5.13.0-1012.14
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-27-lowlatency<5.13.0-27.29
5.13.0-27.29
Ubuntu=21.10
All of
ubuntu/linux-image-aws<5.13.0.1011.12
5.13.0.1011.12
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1012-gcp<5.13.0-1012.15
5.13.0-1012.15
Ubuntu=21.10
All of
ubuntu/linux-image-azure<5.13.0.1012.12
5.13.0.1012.12
Ubuntu=21.10
All of
ubuntu/linux-image-raspi-nolpae<5.13.0.1015.20
5.13.0.1015.20
Ubuntu=21.10
All of
ubuntu/linux-image-oem-20.04<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-gke<5.13.0.1012.11
5.13.0.1012.11
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-27-generic<5.13.0-27.29
5.13.0-27.29
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1010-kvm<5.13.0-1010.11
5.13.0-1010.11
Ubuntu=21.10
All of
ubuntu/linux-image-gcp<5.13.0.1012.11
5.13.0.1012.11
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1015-raspi<5.13.0-1015.17
5.13.0-1015.17
Ubuntu=21.10
All of
ubuntu/linux-image-oracle<5.13.0.1015.15
5.13.0.1015.15
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1015-oracle<5.13.0-1015.19
5.13.0-1015.19
Ubuntu=21.10
All of
ubuntu/linux-image-raspi<5.13.0.1015.20
5.13.0.1015.20
Ubuntu=21.10
All of
ubuntu/linux-image-kvm<5.13.0.1010.10
5.13.0.1010.10
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-1011-aws<5.13.0-1011.12
5.13.0-1011.12
Ubuntu=21.10
All of
ubuntu/linux-image-generic-lpae<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-5.13.0-27-generic-64k<5.13.0-27.29
5.13.0-27.29
Ubuntu=21.10
All of
ubuntu/linux-image-lowlatency<5.13.0.27.37
5.13.0.27.37
Ubuntu=21.10
All of
ubuntu/linux-image-5.11.0-1027-azure<5.11.0-1027.30
5.11.0-1027.30
Ubuntu=21.04
All of
ubuntu/linux-image-generic-64k<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-generic<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1027-oracle<5.11.0-1027.30
5.11.0-1027.30
Ubuntu=21.04
All of
ubuntu/linux-image-aws<5.11.0.1027.26
5.11.0.1027.26
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-49-generic-64k<5.11.0-49.55
5.11.0-49.55
Ubuntu=21.04
All of
ubuntu/linux-image-raspi<5.11.0.1027.24
5.11.0.1027.24
Ubuntu=21.04
All of
ubuntu/linux-image-gke<5.11.0.1028.26
5.11.0.1028.26
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-49-lowlatency<5.11.0-49.55
5.11.0-49.55
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1024-kvm<5.11.0-1024.27
5.11.0-1024.27
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1027-raspi<5.11.0-1027.30
5.11.0-1027.30
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-49-generic-lpae<5.11.0-49.55
5.11.0-49.55
Ubuntu=21.04
All of
ubuntu/linux-image-azure<5.11.0.1027.26
5.11.0.1027.26
Ubuntu=21.04
All of
ubuntu/linux-image-raspi-nolpae<5.11.0.1027.24
5.11.0.1027.24
Ubuntu=21.04
All of
ubuntu/linux-image-oem-20.04<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-virtual<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1027-raspi-nolpae<5.11.0-1027.30
5.11.0-1027.30
Ubuntu=21.04
All of
ubuntu/linux-image-gcp<5.11.0.1028.26
5.11.0.1028.26
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1027-aws<5.11.0-1027.30
5.11.0-1027.30
Ubuntu=21.04
All of
ubuntu/linux-image-oracle<5.11.0.1027.26
5.11.0.1027.26
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-49-generic<5.11.0-49.55
5.11.0-49.55
Ubuntu=21.04
All of
ubuntu/linux-image-kvm<5.11.0.1024.24
5.11.0.1024.24
Ubuntu=21.04
All of
ubuntu/linux-image-generic-lpae<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-5.11.0-1028-gcp<5.11.0-1028.32
5.11.0-1028.32
Ubuntu=21.04
All of
ubuntu/linux-image-lowlatency<5.11.0.49.48
5.11.0.49.48
Ubuntu=21.04
All of
ubuntu/linux-image-gkeop<5.4.0.1031.34
5.4.0.1031.34
Ubuntu=20.04
All of
ubuntu/linux-image-virtual<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1053-kvm<5.4.0-1053.55
5.4.0-1053.55
Ubuntu=20.04
All of
ubuntu/linux-image-5.11.0-1027-oracle<5.11.0-1027.30~20.04.1
5.11.0-1027.30~20.04.1
Ubuntu=20.04
All of
ubuntu/linux-image-aws<5.11.0.1027.30~20.04.25
5.11.0.1027.30~20.04.25
Ubuntu=20.04
All of
ubuntu/linux-image-5.14.0-1020-oem<5.14.0-1020.22
5.14.0-1020.22
Ubuntu=20.04
All of
ubuntu/linux-image-ibm-lts-20.04<5.4.0.1012.13
5.4.0.1012.13
Ubuntu=20.04
All of
ubuntu/linux-image-gkeop-5.4<5.4.0.1031.34
5.4.0.1031.34
Ubuntu=20.04
All of
ubuntu/linux-image-azure<5.11.0.1027.30~20.04.25
5.11.0.1027.30~20.04.25
Ubuntu=20.04
All of
ubuntu/linux-image-5.10.0-1057-oem<5.10.0-1057.61
5.10.0-1057.61
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1050-raspi<5.4.0-1050.56
5.4.0-1050.56
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-96-generic-lpae<5.4.0-96.109
5.4.0-96.109
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1031-gkeop<5.4.0-1031.32
5.4.0-1031.32
Ubuntu=20.04
All of
ubuntu/linux-image-oracle-lts-20.04<5.4.0.1061.61
5.4.0.1061.61
Ubuntu=20.04
All of
ubuntu/linux-image-kvm<5.4.0.1053.52
5.4.0.1053.52
Ubuntu=20.04
All of
ubuntu/linux-image-5.11.0-1028-gcp<5.11.0-1028.32~20.04.1
5.11.0-1028.32~20.04.1
Ubuntu=20.04
All of
ubuntu/linux-image-lowlatency<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1061-oracle<5.4.0-1061.65
5.4.0-1061.65
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1062-gcp<5.4.0-1062.66
5.4.0-1062.66
Ubuntu=20.04
All of
ubuntu/linux-image-oem-osp1<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-gke-5.4<5.4.0.1059.69
5.4.0.1059.69
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1059-gke<5.4.0-1059.62
5.4.0-1059.62
Ubuntu=20.04
All of
ubuntu/linux-image-oem-20.04c<5.13.0.1028.30
5.13.0.1028.30
Ubuntu=20.04
All of
ubuntu/linux-image-oem-20.04b<5.10.0.1057.57
5.10.0.1057.57
Ubuntu=20.04
All of
ubuntu/linux-image-oem-20.04d<5.14.0.1020.17
5.14.0.1020.17
Ubuntu=20.04
All of
ubuntu/linux-image-ibm<5.4.0.1012.13
5.4.0.1012.13
Ubuntu=20.04
All of
ubuntu/linux-image-gcp<5.11.0.1028.32~20.04.26
5.11.0.1028.32~20.04.26
Ubuntu=20.04
All of
ubuntu/linux-image-generic-lpae<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-96-lowlatency<5.4.0-96.109
5.4.0-96.109
Ubuntu=20.04
All of
ubuntu/linux-image-oem<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-5.11.0-1027-aws<5.11.0-1027.30~20.04.1
5.11.0-1027.30~20.04.1
Ubuntu=20.04
All of
ubuntu/linux-image-bluefield<5.4.0.1025.26
5.4.0.1025.26
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1025-bluefield<5.4.0-1025.28
5.4.0-1025.28
Ubuntu=20.04
All of
ubuntu/linux-image-gke<5.4.0.1059.69
5.4.0.1059.69
Ubuntu=20.04
All of
ubuntu/linux-image-aws-lts-20.04<5.4.0.1063.65
5.4.0.1063.65
Ubuntu=20.04
All of
ubuntu/linux-image-azure-lts-20.04<5.4.0.1067.65
5.4.0.1067.65
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1067-azure<5.4.0-1067.70
5.4.0-1067.70
Ubuntu=20.04
All of
ubuntu/linux-image-oracle<5.11.0.1027.30~20.04.19
5.11.0.1027.30~20.04.19
Ubuntu=20.04
All of
ubuntu/linux-image-raspi<5.4.0.1050.84
5.4.0.1050.84
Ubuntu=20.04
All of
ubuntu/linux-image-generic<5.4.0.96.100
5.4.0.96.100
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-96-generic<5.4.0-96.109
5.4.0-96.109
Ubuntu=20.04
All of
ubuntu/linux-image-5.11.0-1027-azure<5.11.0-1027.30~20.04.1
5.11.0-1027.30~20.04.1
Ubuntu=20.04
All of
ubuntu/linux-image-5.4.0-1012-ibm<5.4.0-1012.13
5.4.0-1012.13
Ubuntu=20.04
All of
ubuntu/linux-image-oem-20.04<5.10.0.1057.57
5.10.0.1057.57
Ubuntu=20.04
All of
ubuntu/linux-image-raspi2<5.4.0.1050.84
5.4.0.1050.84
Ubuntu=20.04
All of
ubuntu/linux-image-gcp-lts-20.04<5.4.0.1062.72
5.4.0.1062.72
Ubuntu=20.04
All of
ubuntu/linux-image-5.13.0-1028-oem<5.13.0-1028.35
5.13.0-1028.35
Ubuntu=20.04
All of
ubuntu/linux-image-generic-lpae-hwe-18.04<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-generic-hwe-18.04<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-snapdragon-hwe-18.04<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-96-lowlatency<5.4.0-96.109~18.04.1
5.4.0-96.109~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-oem<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-aws<5.4.0.1063.45
5.4.0.1063.45
Ubuntu=18.04
All of
ubuntu/linux-image-lowlatency-hwe-18.04<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-96-generic<5.4.0-96.109~18.04.1
5.4.0-96.109~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-raspi-hwe-18.04<5.4.0.1050.52
5.4.0.1050.52
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1061-oracle<5.4.0-1061.65~18.04.1
5.4.0-1061.65~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-oem-osp1<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-gkeop-5.4<5.4.0.1031.32~18.04.31
5.4.0.1031.32~18.04.31
Ubuntu=18.04
All of
ubuntu/linux-image-azure<5.4.0.1067.46
5.4.0.1067.46
Ubuntu=18.04
All of
ubuntu/linux-image-virtual-hwe-18.04<5.4.0.96.109~18.04.84
5.4.0.96.109~18.04.84
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1062-gcp<5.4.0-1062.66~18.04.1
5.4.0-1062.66~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-gcp<5.4.0.1062.47
5.4.0.1062.47
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1050-raspi<5.4.0-1050.56~18.04.1
5.4.0-1050.56~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1067-azure<5.4.0-1067.70~18.04.1
5.4.0-1067.70~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-96-generic-lpae<5.4.0-96.109~18.04.1
5.4.0-96.109~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-oracle<5.4.0.1061.65~18.04.40
5.4.0.1061.65~18.04.40
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1031-gkeop<5.4.0-1031.32~18.04.1
5.4.0-1031.32~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-5.4.0-1059-gke<5.4.0-1059.62~18.04.1
5.4.0-1059.62~18.04.1
Ubuntu=18.04
All of
ubuntu/linux-image-gke-5.4<5.4.0.1059.62~18.04.23
5.4.0.1059.62~18.04.23
Ubuntu=18.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-5240-1?

    The severity of USN-5240-1 is categorized as important due to the potential for denial of service and arbitrary code execution.

  • How do I fix USN-5240-1?

    To fix USN-5240-1, users should update their Linux kernel to the patched versions recommended by Ubuntu.

  • What systems are affected by USN-5240-1?

    USN-5240-1 affects Ubuntu 21.10 systems running specific versions of the Linux kernel.

  • Can USN-5240-1 be exploited remotely?

    No, USN-5240-1 requires local access for an attacker to exploit the vulnerability.

  • Is there a workaround for USN-5240-1?

    There are no known workarounds for USN-5240-1 other than applying the recommended updates.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203