{"id":"CVE-2026-43043","aliases":["CVE-2026-43043"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: af-alg - fix NULL pointer dereference in scatterwalk","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af-alg - fix NULL pointer dereference in scatterwalk\n\nThe AF_ALG interface fails to unmark the end of a Scatter/Gather List (SGL)\nwhen chaining a new af_alg_tsgl structure. If a sendmsg() fills an SGL\nexactly to MAX_SGL_ENTS, the last entry is marked as the end. A subsequent\nsendmsg() allocates a new SGL and chains it, but fails to clear the end\nmarker on the previous SGL's last data entry.\n\nThis causes the crypto scatterwalk to hit a premature end, returning NULL\non sg_next() and leading to a kernel panic during dereference.\n\nFix this by explicitly unmarking the end of the previous SGL when\nperforming sg_chain() in af_alg_alloc_tsgl().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af-alg - fix NULL pointer dereference in scatterwalk\n\nThe AF_ALG interface fails to unmark the end of a Scatter/Gather List (SGL)\nwhen chaining a new af_alg_tsgl structure. If a sendmsg() fills an SGL\nexactly to MAX_SGL_ENTS, the last entry is marked as the end. A subsequent\nsendmsg() allocates a new SGL and chains it, but fails to clear the end\nmarker on the previous SGL's last data entry.\n\nThis causes the crypto scatterwalk to hit a premature end, returning NULL\non sg_next() and leading to a kernel panic during dereference.\n\nFix this by explicitly unmarking the end of the previous SGL when\nperforming sg_chain() in af_alg_alloc_tsgl().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: af-alg - corrige desreferencia de puntero NULL en scatterwalk\n\nLa interfaz AF_ALG no desmarca el final de una Lista de Dispersión/Recopilación (SGL) al encadenar una nueva estructura af_alg_tsgl. Si un sendmsg() llena una SGL exactamente hasta MAX_SGL_ENTS, la última entrada se marca como el final. Un sendmsg() posterior asigna una nueva SGL y la encadena, pero no borra el marcador de final en la última entrada de datos de la SGL anterior.\n\nEsto provoca que el scatterwalk de criptografía alcance un final prematuro, devolviendo NULL en sg_next() y provocando un kernel panic durante la desreferencia.\n\nSoluciona esto desmarcando explícitamente el final de la SGL anterior al realizar sg_chain() en af_alg_alloc_tsgl().","source":"nvd"}],"published":"2026-05-01T14:15:39.576Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"f48d3dd99199180cf37d6253550c55e86372309a","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"f9acceae7b004956851fd4268edf9f518a9bce04","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"7195350fb78538c25cd790d703f8f2c73ee0d395","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"44eafa39363e8d5dfda6a8c6eb6b45458ed4b948","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"00cbdec17c15d024a1c5002c7365df7624a18a75","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"4b03ab0a587ec57eb7ddb5c115d84a42896f60f7","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"62397b493e14107ae82d8b80938f293d95425bcb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.38","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.38","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.134","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.81","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.38","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.134"},{"status":"affected","introduced":"6.7","fixed":"6.12.81"},{"status":"affected","introduced":"6.13","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f48d3dd99199180cf37d6253550c55e86372309a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9acceae7b004956851fd4268edf9f518a9bce04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7195350fb78538c25cd790d703f8f2c73ee0d395","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7cdf2c6381b21ab5ccf8116750d5582fcd6c0f49","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44eafa39363e8d5dfda6a8c6eb6b45458ed4b948","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00cbdec17c15d024a1c5002c7365df7624a18a75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b03ab0a587ec57eb7ddb5c115d84a42896f60f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62397b493e14107ae82d8b80938f293d95425bcb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:27:04.710Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43043","url":"https://www.cve.org/CVERecord?id=CVE-2026-43043","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:28.084Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43043","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43043","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.410Z","epss":{"score":0.00119,"percentile":0.01939,"date":"2026-12-01T12:00:22.000Z"}}