CVE-2021-3732: Infoleak

Published Aug 12, 2021
·
Updated

A flaw was found in the Linux kernel's OverlayFS subsystem in the way the user mounts the TmpFS filesystem with OverlayFS. This flaw allows a local user to gain access to hidden files that should not be accessible.

Other sources

A flaw was found in the Linux kernel’s OverlayFS subsystem in the way the user mounts the TmpFS filesystem with OverlayFS. This flaw allows a local user to gain access to hidden files that should not be accessible.

A flaw was found in the Linux kernels implementation of overlayfs where a local attacker with an unpriviledged account who has the ability to mount a filesystem can abuse a logic bug in the overlayfs code which can inadvertantly reveal files hidden in the orignal mount.

References:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=427215d85e8d https://bugzilla.redhat.com/showbug.cgi?id=1993131

— Red Hat

Affected Software

105 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.rt7.130.el8
0:4.18.0-348.rt7.130.el8
redhat/kernel<0:4.18.0-348.el8
0:4.18.0-348.el8
redhat/kernel<5.14
5.14
Linux Linux kernel<5.14
Linux Linux kernel=5.14
Linux Linux kernel=5.14-rc1
Linux Linux kernel=5.14-rc2
Linux Linux kernel=5.14-rc3
Linux Linux kernel=5.14-rc4
Linux Linux kernel=5.14-rc5
ubuntu/linux-aws<4.4.0-1117.123
4.4.0-1117.123
ubuntu/linux-azure<4.15.0-1124.137~14.04.1
4.15.0-1124.137~14.04.1
ubuntu/linux-lts-xenial<4.4.0-239.273~14.04.1
4.4.0-239.273~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-239.273
4.4.0-239.273
ubuntu/linux-aws<4.4.0-1155.170
4.4.0-1155.170
ubuntu/linux-aws-hwe<4.15.0-1112.119~16.04.1
4.15.0-1112.119~16.04.1
ubuntu/linux-azure<4.15.0-1124.137~16.04.1
4.15.0-1124.137~16.04.1
ubuntu/linux-gcp<4.15.0-1109.123~16.04.1
4.15.0-1109.123~16.04.1
ubuntu/linux-hwe<4.15.0-159.167~16.04.1
4.15.0-159.167~16.04.1
ubuntu/linux-kvm<4.4.0-1118.128
4.4.0-1118.128
ubuntu/linux-oracle<4.15.0-1081.89~16.04.1
4.15.0-1081.89~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1088.95
4.4.0-1088.95
ubuntu/linux-fips*
ubuntu/linux<4.15.0-159.167
4.15.0-159.167
ubuntu/linux-aws<4.15.0-1112.119
4.15.0-1112.119
ubuntu/linux-aws-5.4<5.4.0-1058.61~18.04.3
5.4.0-1058.61~18.04.3
ubuntu/linux-azure-4.15<4.15.0-1124.137
4.15.0-1124.137
ubuntu/linux-azure-5.4<5.4.0-1062.65~18.04.1
5.4.0-1062.65~18.04.1
ubuntu/linux-dell300x<4.15.0-1028.33
4.15.0-1028.33
ubuntu/linux-gcp-4.15<4.15.0-1109.123
4.15.0-1109.123
ubuntu/linux-gcp-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1054.57~18.04.1
5.4.0-1054.57~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1025.26~18.04.1
5.4.0-1025.26~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-89.100~18.04.1
5.4.0-89.100~18.04.1
ubuntu/linux-kvm<4.15.0-1100.102
4.15.0-1100.102
ubuntu/linux-oracle<4.15.0-1081.89
4.15.0-1081.89
ubuntu/linux-oracle-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1045.49~18.04.1
5.4.0-1045.49~18.04.1
ubuntu/linux-raspi2<4.15.0-1096.102
4.15.0-1096.102
ubuntu/linux-snapdragon<4.15.0-1113.122
4.15.0-1113.122
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2054.56
4.15.0-2054.56
ubuntu/linux-azure-fips<4.15.0-2036.40
4.15.0-2036.40
ubuntu/linux-fips<4.15.0-1070.79
4.15.0-1070.79
ubuntu/linux-gcp-fips<4.15.0-2019.21
4.15.0-2019.21
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-89.100
5.4.0-89.100
ubuntu/linux-aws<5.4.0-1058.61
5.4.0-1058.61
ubuntu/linux-aws-5.11<5.11.0-1020.21~20.04.2
5.11.0-1020.21~20.04.2
ubuntu/linux-azure<5.4.0-1062.65
5.4.0-1062.65
ubuntu/linux-azure-5.11<5.11.0-1020.21~20.04.1
5.11.0-1020.21~20.04.1
ubuntu/linux-bluefield<5.4.0-1020.23
5.4.0-1020.23
ubuntu/linux-gcp<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-gcp-5.11<5.11.0-1021.23~20.04.1
5.11.0-1021.23~20.04.1
ubuntu/linux-gke<5.4.0-1054.57
5.4.0-1054.57
ubuntu/linux-gkeop<5.4.0-1025.26
5.4.0-1025.26
ubuntu/linux-hwe-5.11<5.11.0-38.42~20.04.1
5.11.0-38.42~20.04.1
ubuntu/linux-ibm<5.4.0-1006.7
5.4.0-1006.7
ubuntu/linux-kvm<5.4.0-1048.50
5.4.0-1048.50
ubuntu/linux-oem-5.10<5.10.0-1050.52
5.10.0-1050.52
ubuntu/linux-oem-5.13<5.13.0-1014.18
5.13.0-1014.18
ubuntu/linux-oracle<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-oracle-5.11<5.11.0-1020.21~20.04.1
5.11.0-1020.21~20.04.1
ubuntu/linux-raspi<5.4.0-1045.49
5.4.0-1045.49
ubuntu/linux-riscv-5.11<5.11.0-1021.22~20.04.1
5.11.0-1021.22~20.04.1
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.8*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-fips<5.4.0-1035.41
5.4.0-1035.41
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
debian/linux
4.9.290-14.19.208-15.10.46-55.14.6-1
debian/linux-4.19
4.19.208-1~deb9u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.rt7.130.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-348.el8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.14
  4. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1117.123
  5. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1124.137~14.04.1
  6. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-239.273~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-239.273
  8. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1155.170
  9. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1112.119~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1124.137~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1109.123~16.04.1
  12. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-159.167~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1118.128
  14. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1081.89~16.04.1
  15. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1088.95
  16. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-159.167
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1112.119
  18. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1058.61~18.04.3
  19. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1124.137
  20. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1062.65~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1028.33
  22. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1109.123
  23. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.60~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1054.57~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.26~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-89.100~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1100.102
  28. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1081.89
  29. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.60~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1045.49~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1096.102
  32. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1113.122
  33. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2054.56
  34. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2036.40
  35. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1070.79
  36. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2019.21
  37. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-89.100
  38. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1058.61
  39. Upgrade

    Upgrade ubuntu/linux-aws-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-1020.21~20.04.2
  40. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1062.65
  41. Upgrade

    Upgrade ubuntu/linux-azure-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-1020.21~20.04.1
  42. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1020.23
  43. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.60
  44. Upgrade

    Upgrade ubuntu/linux-gcp-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-1021.23~20.04.1
  45. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1054.57
  46. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1025.26
  47. Upgrade

    Upgrade ubuntu/linux-hwe-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-38.42~20.04.1
  48. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1006.7
  49. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.50
  50. Upgrade

    Upgrade ubuntu/linux-oem-5.10 to a version that resolves this vulnerability.

    Fixed in 5.10.0-1050.52
  51. Upgrade

    Upgrade ubuntu/linux-oem-5.13 to a version that resolves this vulnerability.

    Fixed in 5.13.0-1014.18
  52. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1056.60
  53. Upgrade

    Upgrade ubuntu/linux-oracle-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-1020.21~20.04.1
  54. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1045.49
  55. Upgrade

    Upgrade ubuntu/linux-riscv-5.11 to a version that resolves this vulnerability.

    Fixed in 5.11.0-1021.22~20.04.1
  56. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  57. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  58. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1035.41
  59. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  60. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.9.290-1Fixed in 4.19.208-1Fixed in 5.10.46-5Fixed in 5.14.6-1
  61. Upgrade

    Upgrade debian/linux-4.19 to a version that resolves this vulnerability.

    Fixed in 4.19.208-1~deb9u1

Event History

Aug 12, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 27, 2021
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Event
via OSV·12:00 AM
Mar 7, 2022
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionWeakness
Sep 27, 2022
Data Sourced
via Red Hat·02:21 PM
DescriptionSeverityAffected Software
Dec 13, 2022
Data Sourced
via NVD·07:50 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:50 PM
Affected Software
Nov 21, 2024
Updated
via NVD·06:22 AM
RemedyAffected Software
Nov 11, 2026
Updated
via OSV·09:37 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2021-3732?

CVE-2021-3732 is classified as a medium severity vulnerability.

2

How do I fix CVE-2021-3732?

To fix CVE-2021-3732, update the kernel package to the recommended versions provided by your Linux distribution.

3

Who is affected by CVE-2021-3732?

CVE-2021-3732 affects users of certain versions of the Linux kernel, specifically those utilizing OverlayFS functionality.

4

What is the impact of CVE-2021-3732?

The impact of CVE-2021-3732 is that a local user may gain unauthorized access to hidden files.

5

Is CVE-2021-3732 being actively exploited?

As of now, there is no public information indicating that CVE-2021-3732 is actively being exploited in the wild.

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