USN-5240-1: Linux kernel vulnerability

Published 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 Software

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

Event History

Jan 19, 2022
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

What systems are affected by USN-5240-1?

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

4

Can USN-5240-1 be exploited remotely?

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

5

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