Skip to content
Heist/ feed
Back to feed
UnratedFix available

f2fs: check validation of fault attrs in f2fs_build_fault_attr()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: f2fs: check validation of fault attrs in f2fs_build_fault_attr() - It missed to check validation of fault attrs in parse_options(), let's fix to add check condition in f2fs_build_fault_attr(). - Use f2fs_build_fault_attr() in __sbi_store() to clean up code.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.181, 6.1.98, 6.6.39, 6.9.9
CVEs
CVE-2024-42160
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:06 UTC · Revision 1

Source evidence

f2fs: check validation of fault attrs in f2fs_build_fault_attr()

core-osv · Original source

Published 30 Jul 2024, 07:47 UTC

In the Linux kernel, the following vulnerability has been resolved: f2fs: check validation of fault attrs in f2fs_build_fault_attr() - It missed to check validation of fault attrs in parse_options(), let's fix to add check condition in f2fs_build_fault_attr(). - Use f2fs_build_fault_attr() in __sbi_store() to clean up code.

osv:CVE-2024-42160

Kernel

Fixed versions: 5.15.181, 6.1.98, 6.6.39, 6.9.9

Complete source record
{
  "id": "d7d2bb13fd25c15a5c9ebe41acba12d092a31050e1d39f67b9ba1fb39e2cba6e",
  "url": "https://osv.dev/vulnerability/CVE-2024-42160",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "f2fs: check validation of fault attrs in f2fs_build_fault_attr()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: f2fs: check validation of fault attrs in f2fs_build_fault_attr() - It missed to check validation of fault attrs in parse_options(), let's fix to add check condition in f2fs_build_fault_attr(). - Use f2fs_build_fault_attr() in __sbi_store() to clean up code.",
    "evidence": "osv:CVE-2024-42160",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.98",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-42160",
      "aliases": [
        "CVE-2024-42160"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "98e4da8ca301e062d79ae168c67e56f3c3de3ce4"
                },
                {
                  "fixed": "6e5b601706ce05d94338cad598736d96bb8096c8"
                },
                {
                  "fixed": "bc84dd2c33e0c10fd90d60f0cfc0bfb504d4692d"
                },
                {
                  "fixed": "44958ca9e400f57bd0478115519ffc350fcee61e"
                },
                {
                  "fixed": "ecb641f424d6d1f055d149a15b892edcc92c504b"
                },
                {
                  "fixed": "4ed886b187f47447ad559619c48c086f432d2b77"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42160.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.8.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.98"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42160.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.475047932Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/44958ca9e400f57bd0478115519ffc350fcee61e",
        "https://git.kernel.org/stable/c/4ed886b187f47447ad559619c48c086f432d2b77",
        "https://git.kernel.org/stable/c/6e5b601706ce05d94338cad598736d96bb8096c8",
        "https://git.kernel.org/stable/c/bc84dd2c33e0c10fd90d60f0cfc0bfb504d4692d",
        "https://git.kernel.org/stable/c/ecb641f424d6d1f055d149a15b892edcc92c504b",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42160.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42160",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42160.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42160",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 491769,
  "published_at": "2024-07-30T07:47:02.208+00:00"
}