CVE-2021-44879: Null Pointer Dereference

Published Feb 13, 2022
·
Updated

In gcdatasegment in fs/f2fs/gc.c in the Linux kernel before 5.16.3, special files are not considered, leading to a movedatapage NULL pointer dereference.

Affected Software

103 affected componentsFixes available
Linux Linux kernel<5.16.3
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-azure*
ubuntu/linux-lts-xenial*
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-aws-hwe*
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-kvm*
ubuntu/linux-oracle*
ubuntu/linux-fips*
ubuntu/linux-fips*
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1120.130~18.04.1
5.4.0-1120.130~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1126.133~18.04.1
5.4.0-1126.133~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1124.133~18.04.1
5.4.0-1124.133~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-173.191~18.04.1
5.4.0-173.191~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1067.72~18.04.1
5.4.0-1067.72~18.04.1
ubuntu/linux-kvm*
ubuntu/linux-oem*
ubuntu/linux-oracle*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1119.128~18.04.1
5.4.0-1119.128~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1104.116~18.04.1
5.4.0-1104.116~18.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-173.191
5.4.0-173.191
ubuntu/linux-aws<5.4.0-1120.130
5.4.0-1120.130
ubuntu/linux-aws-5.13<5.13.0-1022.24~20.04.1
5.13.0-1022.24~20.04.1
ubuntu/linux-azure<5.4.0-1126.133
5.4.0-1126.133
ubuntu/linux-azure-5.13<5.13.0-1022.26~20.04.1
5.13.0-1022.26~20.04.1
ubuntu/linux-bluefield<5.4.0-1080.87
5.4.0-1080.87
ubuntu/linux-gcp<5.4.0-1124.133
5.4.0-1124.133
ubuntu/linux-gcp-5.13<5.13.0-1024.29~20.04.1
5.13.0-1024.29~20.04.1
ubuntu/linux-gkeop<5.4.0-1087.91
5.4.0-1087.91
ubuntu/linux-hwe-5.13<5.13.0-40.45~20.04.1
5.13.0-40.45~20.04.1
ubuntu/linux-ibm<5.4.0-1067.72
5.4.0-1067.72
ubuntu/linux-intel-5.13<5.13.0-1011.11
5.13.0-1011.11
ubuntu/linux-iot<5.4.0-1032.33
5.4.0-1032.33
ubuntu/linux-kvm<5.4.0-1108.115
5.4.0-1108.115
ubuntu/linux-oem-5.14<5.14.0-1024.26
5.14.0-1024.26
ubuntu/linux-oracle<5.4.0-1119.128
5.4.0-1119.128
ubuntu/linux-oracle-5.13<5.13.0-1027.32~20.04.1
5.13.0-1027.32~20.04.1
ubuntu/linux-raspi<5.4.0-1104.116
5.4.0-1104.116
ubuntu/linux-xilinx-zynqmp<5.4.0-1039.43
5.4.0-1039.43
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.8*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1120.130+fips1
5.4.0-1120.130+fips1
ubuntu/linux-azure-fips<5.4.0-1126.133+fips1
5.4.0-1126.133+fips1
ubuntu/linux-fips<5.4.0-1094.104
5.4.0-1094.104
ubuntu/linux-gcp-fips<5.4.0-1124.133+fips1
5.4.0-1124.133+fips1
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*
ubuntu/linux-vmware*
debian/linux
6.1.176-16.1.190-16.12.107-16.12.116-17.2.15-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.4.0-1120.130~18.04.1
  2. Upgrade

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

    Fixed in 5.4.0-1126.133~18.04.1
  3. Upgrade

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

    Fixed in 5.4.0-1124.133~18.04.1
  4. Upgrade

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

    Fixed in 5.4.0-173.191~18.04.1
  5. Upgrade

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

    Fixed in 5.4.0-1067.72~18.04.1
  6. Upgrade

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

    Fixed in 5.4.0-1119.128~18.04.1
  7. Upgrade

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

    Fixed in 5.4.0-1104.116~18.04.1
  8. Upgrade

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

    Fixed in 5.4.0-173.191
  9. Upgrade

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

    Fixed in 5.4.0-1120.130
  10. Upgrade

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

    Fixed in 5.13.0-1022.24~20.04.1
  11. Upgrade

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

    Fixed in 5.4.0-1126.133
  12. Upgrade

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

    Fixed in 5.13.0-1022.26~20.04.1
  13. Upgrade

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

    Fixed in 5.4.0-1080.87
  14. Upgrade

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

    Fixed in 5.4.0-1124.133
  15. Upgrade

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

    Fixed in 5.13.0-1024.29~20.04.1
  16. Upgrade

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

    Fixed in 5.4.0-1087.91
  17. Upgrade

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

    Fixed in 5.13.0-40.45~20.04.1
  18. Upgrade

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

    Fixed in 5.4.0-1067.72
  19. Upgrade

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

    Fixed in 5.13.0-1011.11
  20. Upgrade

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

    Fixed in 5.4.0-1032.33
  21. Upgrade

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

    Fixed in 5.4.0-1108.115
  22. Upgrade

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

    Fixed in 5.14.0-1024.26
  23. Upgrade

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

    Fixed in 5.4.0-1119.128
  24. Upgrade

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

    Fixed in 5.13.0-1027.32~20.04.1
  25. Upgrade

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

    Fixed in 5.4.0-1104.116
  26. Upgrade

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

    Fixed in 5.4.0-1039.43
  27. Upgrade

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

    Fixed in 5.4.0-1120.130+fips1
  28. Upgrade

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

    Fixed in 5.4.0-1126.133+fips1
  29. Upgrade

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

    Fixed in 5.4.0-1094.104
  30. Upgrade

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

    Fixed in 5.4.0-1124.133+fips1
  31. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.116-1Fixed in 7.2.15-1Fixed in 7.3.4-1
  32. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.16.3

Event History

Feb 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Feb 14, 2022
Data Sourced
via OSV·12:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected 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-44879?

CVE-2021-44879 has been rated as a medium severity vulnerability due to the potential for a NULL pointer dereference.

2

How do I fix CVE-2021-44879?

To fix CVE-2021-44879, upgrade your Linux kernel to version 5.16.3 or later.

3

What Linux kernel versions are affected by CVE-2021-44879?

CVE-2021-44879 affects Linux kernel versions prior to 5.16.3.

4

Can CVE-2021-44879 be exploited remotely?

CVE-2021-44879 is not classified as a remotely exploitable vulnerability but could impact local system stability.

5

What component of the Linux kernel is impacted by CVE-2021-44879?

CVE-2021-44879 impacts the gc_data_segment function in the filesystem implementation of the Linux kernel.

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