CVE-2025-68745

NameCVE-2025-68745
DescriptionIn the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Clear cmds after chip reset Commit aefed3e5548f ("scsi: qla2xxx: target: Fix offline port handling and host reset handling") caused two problems: 1. Commands sent to FW, after chip reset got stuck and never freed as FW is not going to respond to them anymore. 2. BUG_ON(cmd->sg_mapped) in qlt_free_cmd(). Commit 26f9ce53817a ("scsi: qla2xxx: Fix missed DMA unmap for aborted commands") attempted to fix this, but introduced another bug under different circumstances when two different CPUs were racing to call qlt_unmap_sg() at the same time: BUG_ON(!valid_dma_direction(dir)) in dma_unmap_sg_attrs(). So revert "scsi: qla2xxx: Fix missed DMA unmap for aborted commands" and partially revert "scsi: qla2xxx: target: Fix offline port handling and host reset handling" at __qla2x00_abort_all_cmds.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4904-1, DLA-4906-1, DSA-6602-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bookworm6.1.176-1vulnerable
bookworm (security)6.1.192-2fixed
trixie6.12.107-1vulnerable
trixie (security)6.12.117-1fixed
forky7.3.4-1fixed
sid7.3.5-1fixed
linux-6.12 (PTS)bookworm (security)6.12.117-1~deb12u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebookworm6.1.192-1DLA-4906-1
linuxsourcetrixie6.12.115-2DSA-6602-1
linuxsource(unstable)6.18.3-1
linux-6.12sourcebookworm6.12.115-2~deb12u1DLA-4904-1

Notes

https://git.kernel.org/linus/d46c69a087aa3d1513f7a78f871b80251ea0c1ae (6.19-rc1)

Search for package or bug name: Reporting problems