{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139756",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.951Z",
        "datePublished": "2026-11-30T13:37:41.195Z",
        "dateUpdated": "2026-11-30T13:37:41.195Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:37:41.195Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic: spisg: Fix transfer size limit and timeout handling\n\nThe CFG_BLOCK_NUM field can encode at most 20 bits, so reduce\nSPISG_BLOCK_MAX to 0xfffff to avoid programming a zero-length transfer.\n\nPerform the delay calculation in 64-bit arithmetic to avoid overflow\nwhen converting nanoseconds to SPI clock cycles.\n\nStop the controller on transfer timeout by clearing the descriptor list\nregister before returning an error."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/spi/spi-amlogic-spisg.c"
                    ],
                    "versions": [
                        {
                            "version": "cef9991e04aed3305c61c392e880f6e01a0c2ea4",
                            "lessThan": "c060b90ee665c8efeddfed07c4333c9537631369",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cef9991e04aed3305c61c392e880f6e01a0c2ea4",
                            "lessThan": "fac2c0c331901317fcd3bed30ef2c91bfd2c7ffc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cef9991e04aed3305c61c392e880f6e01a0c2ea4",
                            "lessThan": "754d2bbd92f5ecef0eb4f5b1ac7b1417320a56ca",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/spi/spi-amlogic-spisg.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "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.17",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c060b90ee665c8efeddfed07c4333c9537631369"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fac2c0c331901317fcd3bed30ef2c91bfd2c7ffc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/754d2bbd92f5ecef0eb4f5b1ac7b1417320a56ca"
                }
            ],
            "title": "spi: amlogic: spisg: Fix transfer size limit and timeout handling",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}