mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
alsa-lib: patch CVE-2026-56109
Pick patch listed in NVD CVE report. (From OE-Core rev: 1f7cd9a1c65bfc1a4dbba3830d7092acf02174fd) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
13d8cd57a7
commit
5f2d0ad996
33
meta/recipes-multimedia/alsa/alsa-lib/CVE-2026-56109.patch
Normal file
33
meta/recipes-multimedia/alsa/alsa-lib/CVE-2026-56109.patch
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
From 536dd6f8affdf5197c12a63a71c92a70b2833cc0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
Date: Mon, 8 Jun 2026 14:33:19 +0200
|
||||||
|
Subject: [PATCH] conf: add missing return value check in parse_def()
|
||||||
|
|
||||||
|
A malformed configuration may cause SIGSEGV.
|
||||||
|
|
||||||
|
Link: https://lore.kernel.org/alsa-devel/CAGt8pqBU0p2voB+qHxWGcNJrKHAcBhAyHUUBPLBN-Yj_SiV6MQ@mail.gmail.com/
|
||||||
|
Reported-by: Luigino Camastra <luigino.camastra@aisle.com>
|
||||||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
|
||||||
|
CVE: CVE-2026-56109
|
||||||
|
Upstream-Status: Backport [https://github.com/alsa-project/alsa-lib/commit/536dd6f8affdf5197c12a63a71c92a70b2833cc0]
|
||||||
|
Signed-off-by: Peter Marko <peter.marko@siemens.com>
|
||||||
|
---
|
||||||
|
src/conf.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/conf.c b/src/conf.c
|
||||||
|
index b0dd6298..e1dba23d 100644
|
||||||
|
--- a/src/conf.c
|
||||||
|
+++ b/src/conf.c
|
||||||
|
@@ -1477,6 +1477,10 @@ static int parse_def(snd_config_t *parent, input_t *input, int skip, int overrid
|
||||||
|
endchr = ']';
|
||||||
|
}
|
||||||
|
c = get_nonwhite(input);
|
||||||
|
+ if (c < 0) {
|
||||||
|
+ err = c;
|
||||||
|
+ goto __end;
|
||||||
|
+ }
|
||||||
|
if (c != endchr) {
|
||||||
|
if (n)
|
||||||
|
snd_config_delete(n);
|
||||||
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
|
|||||||
SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
|
SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \
|
||||||
file://0001-topology-correct-version-script-path.patch \
|
file://0001-topology-correct-version-script-path.patch \
|
||||||
file://CVE-2026-25068.patch \
|
file://CVE-2026-25068.patch \
|
||||||
|
file://CVE-2026-56109.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "9f3f2f69b995f9ad37359072fbc69a3a88bfba081fc83e9be30e14662795bb4d"
|
SRC_URI[sha256sum] = "9f3f2f69b995f9ad37359072fbc69a3a88bfba081fc83e9be30e14662795bb4d"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user