{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-74542",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-15T05:44:03.914Z",
        "datePublished": "2026-08-15T12:27:52.741Z",
        "dateUpdated": "2026-08-17T05:21:27.220Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:21:27.220Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix folio_queue ENOMEM in writeback by adding a mempool\n\nFix the handling of folio_queue allocation failure in writeback by adding a\nmempool and passing in gfp_t flags to the rolling buffer functions that\nallocate memory, using the mempool if gfp != GFP_KERNEL.\n\nThis is then extended upwards and the gfp to be used for a request is stored\nin the netfs_io_request struct and is then used for both requests and\nsubrequests, eliminating the sleeping loops there.\n\nThe failure caused:\n\n    folio != NULL\n    WARNING: fs/netfs/write_issue.c:603 at netfs_writepages+0x883/0xa10 fs/netfs/write_issue.c:603, CPU#3: syz.0.17/5919"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/netfs/buffered_read.c",
                        "fs/netfs/internal.h",
                        "fs/netfs/main.c",
                        "fs/netfs/objects.c",
                        "fs/netfs/read_pgpriv2.c",
                        "fs/netfs/rolling_buffer.c",
                        "fs/netfs/write_issue.c",
                        "include/linux/netfs.h",
                        "include/linux/rolling_buffer.h"
                    ],
                    "versions": [
                        {
                            "version": "cd0277ed0c188dd40e7744e89299af7b78831ca4",
                            "lessThan": "3f6d7f8a5416d852648d15a05e895f1195ee8a85",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cd0277ed0c188dd40e7744e89299af7b78831ca4",
                            "lessThan": "1d78d56c43ef3768183e8370e7367b162700e049",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/netfs/buffered_read.c",
                        "fs/netfs/internal.h",
                        "fs/netfs/main.c",
                        "fs/netfs/objects.c",
                        "fs/netfs/read_pgpriv2.c",
                        "fs/netfs/rolling_buffer.c",
                        "fs/netfs/write_issue.c",
                        "include/linux/netfs.h",
                        "include/linux/rolling_buffer.h"
                    ],
                    "versions": [
                        {
                            "version": "6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.8",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.1.8"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/3f6d7f8a5416d852648d15a05e895f1195ee8a85"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1d78d56c43ef3768183e8370e7367b162700e049"
                }
            ],
            "title": "netfs: Fix folio_queue ENOMEM in writeback by adding a mempool",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}