{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-100045",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.454Z",
        "datePublished": "2026-11-30T13:23:22.528Z",
        "dateUpdated": "2026-11-30T13:23:22.528Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:23:22.528Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix copy_file_range reply handling race\n\n__fuse_copy_file_range() selects its request opcode and output buffer\nusing fc->no_copy_file_range_64, then reads the flag again to handle the\nreply. Copies to different destination inodes can run concurrently on\nthe same connection, so the flag may change while a request is pending.\n\nFor example, task A submits FUSE_COPY_FILE_RANGE_64 and waits for its\nreply. Task B submits the same opcode, receives -ENOSYS and sets\nno_copy_file_range_64. When A receives a successful reply, it reads the\nuninitialized outarg.size instead of outarg_64.bytes_copied. This can\nproduce an incorrect return value, page cache invalidation range and\ninode size update, and disclose stack contents if automatic stack\ninitialization is disabled.\n\nIf A also receives -ENOSYS, it instead mistakes that reply for rejection\nof the legacy opcode and sets no_copy_file_range, skipping the legacy\nfallback and unnecessarily disabling copy offload for the connection.\n\nKCSAN reported the conflicting accesses:\n\n  BUG: KCSAN: data-race in __fuse_copy_file_range / __fuse_copy_file_range\n\n  read to 0xffff8881014a4d4d of 1 bytes by task 123 on cpu 4:\n   __fuse_copy_file_range+0x1a7/0x6e0\n   fuse_copy_file_range+0x54/0xd0\n   vfs_copy_file_range+0x290/0x9d0\n   __do_sys_copy_file_range+0x10f/0x2f0\n\n  write to 0xffff8881014a4d4d of 8 bytes by task 119 on cpu 0:\n   __fuse_copy_file_range+0x633/0x6e0\n   fuse_copy_file_range+0x54/0xd0\n   vfs_copy_file_range+0x290/0x9d0\n   __do_sys_copy_file_range+0x10f/0x2f0\n\nThe bug can lead to leak kernel base address for KASLR bypass, the\ncorresponding reproducer can be provided per request.\n\nUse args.opcode for both -ENOSYS handling and output buffer selection.\nIt records the opcode actually sent and is updated on fallback, keeping\neach reply tied to its request regardless of concurrent flag updates."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/fuse/file.c"
                    ],
                    "versions": [
                        {
                            "version": "7a37f55af7af868119b4fb69285f5fa03ba8cf35",
                            "lessThan": "0e49fbd593ed3c9876d72c0ba481a5e70b3e59b9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a37f55af7af868119b4fb69285f5fa03ba8cf35",
                            "lessThan": "0d503ae692491cfeb09050ea5680ea08f0e9fe54",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a37f55af7af868119b4fb69285f5fa03ba8cf35",
                            "lessThan": "bf4ccbaad8bdff8c90fd290ed6135b63f89ee8a7",
                            "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/fuse/file.c"
                    ],
                    "versions": [
                        {
                            "version": "6.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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.18",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0e49fbd593ed3c9876d72c0ba481a5e70b3e59b9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0d503ae692491cfeb09050ea5680ea08f0e9fe54"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bf4ccbaad8bdff8c90fd290ed6135b63f89ee8a7"
                }
            ],
            "title": "fuse: fix copy_file_range reply handling race",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}