In the Linux kernel, the following vulnerability has been resolved: mmc: loongson2: Fix sg iteration in data reorder functions In ls2k0500_mmc_reorder_cmd_data() and ls2k2000_mmc_reorder_cmd_data(), the for_each_sg() macro already iterates over the scatterlist entries, with 'sg' pointing to the current entry. However, the code incorrectly uses '&sg[i]' and 'sg_dma_len(&sg[i])' inside the loop, which treats 'sg' as an array base and indexes it again, leading to access of wrong sg entries (or out-of-bounds if the list is not an array).
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
CVE-2026-80748 is a logic error in the Linux kernel's Loongson2 MMC driver that causes incorrect memory access during data reordering operations. The vulnerability exists in ls2k0500_mmc_reorder_cmd_data() and ls2k2000_mmc_reorder_cmd_data() functions, where the for_each_sg() macro already provides iteration over scatterlist entries, but the code mistakenly re-indexes the 'sg' pointer using array notation (&sg[i] and sg_dma_len(&sg[i])). This double-indexing results in access to wrong scatterlist entries or out-of-bounds memory, potentially causing kernel memory corruption, information disclosure, or denial of service. This affects systems running vulnerable Linux kernel versions with Loongson2 MMC controller support, particularly ARM/MIPS-based devices and embedded systems using this chipset.
While CVE-2026-80748 does not currently map to specific MITRE ATT&CK techniques or have Casky skill coverage, security practitioners using Casky.ai would benefit from the platform's code analysis capabilities to identify similar memory safety issues. A practitioner analyzing this vulnerability through Casky's extended reasoning would recognize this as a common kernel vulnerability pattern: improper pointer arithmetic and iterator misuse. By mapping related techniques from Casky's 754 security skills—such as memory corruption detection patterns, kernel exploitation reconnaissance (T1592), and vulnerability analysis frameworks—teams can identify analogous vulnerabilities in other drivers, firmware, or kernel subsystems. This proactive approach helps practitioners detect logic errors in kernel code that might otherwise be missed by standard static analysis, strengthening their ability to assess risk across Linux-based infrastructure and embedded device ecosystems.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-80748. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation