{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139008",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.908Z",
        "datePublished": "2026-11-30T13:27:01.189Z",
        "dateUpdated": "2026-11-30T13:27:01.189Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:01.189Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: atmel-tdes - sync output bounce buffer before DMA\n\nThe slow path maps its output bounce buffer once at probe time with\ndma_map_single() and DMA_FROM_DEVICE, then reuses the mapping for every\nrequest.  After the CPU copies a result from the buffer,\ndma_sync_single_for_device() must hand the buffer back to the device before\nthe next DMA transfer.  The driver omits this call, so cache lines from the\nprevious result can remain valid while the device writes the next one.\n\nThis bug was masked by the completion paths calling\ndma_sync_single_for_device() immediately before the CPU copied the output,\nwhere dma_sync_single_for_cpu() was required.  For DMA_FROM_DEVICE on\nARM926, dma_sync_single_for_device() invokes arm926_dma_map_area(), which\ninvalidates the cache lines.  The misplaced call therefore discarded the\nstale lines before every copy-out.\n\nCommit c8a9a647532f (\"crypto: atmel-tdes - fix DMA sync direction\")\ncorrectly changed the completion paths to call dma_sync_single_for_cpu().\nOn ARM926, that function invokes arm926_dma_unmap_area(), which is a no-op.\nThe missing pre-DMA dma_sync_single_for_device() was therefore exposed on\nARM926-based SAM9X60 and SAM9X7 SoCs.\n\nWith CONFIG_CRYPTO_SELFTESTS=y all four DES/TDES algorithms fail on\nSAM9X75:\n\n  alg: skcipher: atmel-ecb-tdes encryption test failed (wrong result) on\n  test vector 2, cfg=\"unaligned buffer, offset=1\"\n\nCall dma_sync_single_for_device() for the output buffer before starting DMA\nin both atmel_tdes_crypt_pdc() and atmel_tdes_crypt_dma()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/crypto/atmel-tdes.c"
                    ],
                    "versions": [
                        {
                            "version": "ce3224678acb8c0b3473daa7d7dbffc998c6951a",
                            "lessThan": "25d5042c1eb0436256ae52bf0631fa1b6034517e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b9b28f3881dd514e74f98ae04e79a635022a4804",
                            "lessThan": "722785790810f3fc1b8997ddff0fb17127265a47",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c0f3002c02a3a83250e25582ffbe8df7eb78a8bd",
                            "lessThan": "3c7f3dda4a436a4c921a91f02ee599654d96edf3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5281e6e2302362f6b75b70cbfe4098d2a25dafd9",
                            "lessThan": "1fc9128cc12bafd5ff1e9afa46f8afeafcf18c92",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "12a0adfe498cd5d87e6365d7ca5f6b3eed79e523",
                            "lessThan": "f888c7db1681c136bb761c43964a2271c7a89c12",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "863d11b3927703ad95077c81a8a6489c5c7872f7",
                            "lessThan": "800e6b3394f547085e79a7ae7f95d46425f10f40",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8a9a647532f5c2a04180352693215e24e9dba03",
                            "lessThan": "5047bb843a03ea4cf4eb85fc7278fcfb7426a7c4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c8a9a647532f5c2a04180352693215e24e9dba03",
                            "lessThan": "a38fdcb9c944525ca71e6aaf35e708586d0ae87d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b5f5df801d161ba244f391519cbff2f4e5c6edc2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.258",
                            "lessThan": "5.10.275",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.209",
                            "lessThan": "5.15.226",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.140",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.86",
                            "lessThan": "6.12.117",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.27",
                            "lessThan": "6.18.63",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.4",
                            "lessThan": "7.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/crypto/atmel-tdes.c"
                    ],
                    "versions": [
                        {
                            "version": "7.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "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": "5.10.258",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.209",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.175",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.140",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12.86",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.18.27",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.1",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "7.0.4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/25d5042c1eb0436256ae52bf0631fa1b6034517e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/722785790810f3fc1b8997ddff0fb17127265a47"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3c7f3dda4a436a4c921a91f02ee599654d96edf3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1fc9128cc12bafd5ff1e9afa46f8afeafcf18c92"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f888c7db1681c136bb761c43964a2271c7a89c12"
                },
                {
                    "url": "https://git.kernel.org/stable/c/800e6b3394f547085e79a7ae7f95d46425f10f40"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5047bb843a03ea4cf4eb85fc7278fcfb7426a7c4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a38fdcb9c944525ca71e6aaf35e708586d0ae87d"
                }
            ],
            "title": "crypto: atmel-tdes - sync output bounce buffer before DMA",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}