Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ModemManager for openSUSE:Factory checked in at 2026-11-16 09:07:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ModemManager (Old) and /work/SRC/openSUSE:Factory/.ModemManager.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ModemManager" Mon Nov 16 09:07:31 2026 rev:95 rq:1397275 version:1.24.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ModemManager/ModemManager.changes 2026-10-02 23:01:12.822946019 +0200 +++ /work/SRC/openSUSE:Factory/.ModemManager.new.1251/ModemManager.changes 2026-11-16 09:11:29.606403129 +0100 @@ -1,0 +2,7 @@ +Fri Nov 13 02:36:22 UTC 2026 - Jonathan Kang <[email protected]> + +- CVE-2026-95622: cbm: don't assert handling unsupported encodings + (8-bit and reserved) (bsc#1282843) + * ModemManager-CVE-2026-95622.patch + +------------------------------------------------------------------- New: ---- ModemManager-CVE-2026-95622.patch ----------(New B)---------- New: (8-bit and reserved) (bsc#1282843) * ModemManager-CVE-2026-95622.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ModemManager.spec ++++++ --- /var/tmp/diff_new_pack.oDvI2J/_old 2026-11-16 09:11:30.438438012 +0100 +++ /var/tmp/diff_new_pack.oDvI2J/_new 2026-11-16 09:11:30.440438095 +0100 @@ -27,6 +27,8 @@ Group: Productivity/Networking/System URL: https://modemmanager.org/ Source0: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/%{version}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM ModemManager-CVE-2026-95622.patch bsc#1282843, glfd#mobile-broadband/ModemManager!1507 [email protected] -- cbm: don't assert handling unsupported encodings (8-bit and reserved) +Patch0: ModemManager-CVE-2026-95622.patch BuildRequires: dbus-1-glib-devel BuildRequires: gobject-introspection-devel >= 0.9.6 ++++++ ModemManager-CVE-2026-95622.patch ++++++ >From dfc90c93a142fbfad1eb79cda6014f6e8051aadc Mon Sep 17 00:00:00 2001 From: Dan Williams <[email protected]> Date: Wed, 16 Sep 2026 18:09:59 -0500 Subject: [PATCH] CVE-2026-95622: cbm: don't assert handling unsupported encodings (8-bit and reserved) A cell broadcast message using unsupported encodings would trigger an assert in ModemManager and kill the process. A compromised base station or modem firmware could craft or pass through these messages. Reported by Yehia Ezzat and Keith Linneman Impact: Moderate CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (6.5 Medium) CWE-617 (Reachable Assertion) Signed-off-by: Dan Williams <[email protected]> (cherry picked from commit ee761d009dda7f817954f74ddedcd59b729a9598) [Backport to 1.24.2: keep the explicit mm_cbm_part_free() in the error path since MMCbmPart has no autoptr cleanup on this branch; tests use a plain MMCbmPart pointer and assert it is NULL; drop registration of upstream-only tests (has-lang, has-7bit-lang, UCS2/pad).] Co-Authored-By: Claude Opus 5.5 <[email protected]> --- src/mm-cbm-part.c | 4 ++- src/tests/test-cbm-part.c | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/src/mm-cbm-part.c b/src/mm-cbm-part.c index 8ac92759..0f64631f 100644 --- a/src/mm-cbm-part.c +++ b/src/mm-cbm-part.c @@ -154,7 +154,9 @@ mm_cbm_part_new_from_binary_pdu (const guint8 *pdu, cbm_part->encoding = MM_SMS_ENCODING_GSM7; else if (charset == CBS_DATA_CODING_GENERAL_UCS2) cbm_part->encoding = MM_SMS_ENCODING_UCS2; - } else { + } + + if (cbm_part->encoding == MM_SMS_ENCODING_UNKNOWN) { mm_cbm_part_free (cbm_part); g_set_error (error, MM_CORE_ERROR, diff --git a/src/tests/test-cbm-part.c b/src/tests/test-cbm-part.c index 7981018b..cb3dc4c8 100644 --- a/src/tests/test-cbm-part.c +++ b/src/tests/test-cbm-part.c @@ -155,6 +155,56 @@ test_cbm_eu (void) "TEST ALERT, NATIONWIDE ALERT DAY 2022 Thu 2022/12/08 - 10:59 am - Test alert - for Deutschlan"); } +static void +test_cbm_unhandled_data_coding_group_general_charset_reserved (void) +{ + g_autoptr(GError) err = NULL; + MMCbmPart *part; + + static const guint8 pdu [] = { + 0x63, 0x40, 0x00, 0x32, 0x5C, 0x14, + 0x00, 0x20, 0x04, 0x1f, 0x04, 0x40, 0x04, 0x3e, + 0x04, 0x42, 0x04, 0x4f, 0x04, 0x33, 0x04, 0x3e, + 0x04, 0x3c, 0x00, 0x20, 0x04, 0x34, 0x04, 0x3d, + 0x04, 0x4f, 0x00, 0x20, 0x04, 0x54, 0x00, 0x20, + 0x04, 0x32, 0x04, 0x38, 0x04, 0x41, 0x04, 0x3e, + 0x04, 0x3a, 0x04, 0x30, 0x00, 0x20, 0x04, 0x56, + 0x04, 0x3c, 0x04, 0x3e, 0x04, 0x32, 0x04, 0x56, + 0x04, 0x40, 0x04, 0x3d, 0x04, 0x56, 0x04, 0x41, + 0x04, 0x42, 0x04, 0x4c, 0x00, 0x20, 0x04, 0x40, + 0x04, 0x30, 0x04, 0x3a, 0x04, 0x35, 0x04, 0x42, + 0x04, 0x3d, 0x16, 0x01, 0x00, 0x00}; + + part = mm_cbm_part_new_from_binary_pdu (pdu, G_N_ELEMENTS (pdu), NULL, &err); + g_assert_error (err, MM_CORE_ERROR, MM_CORE_ERROR_FAILED); + g_assert_null (part); +} + +static void +test_cbm_unhandled_data_coding_group_general_charset_8bit (void) +{ + g_autoptr(GError) err = NULL; + MMCbmPart *part; + + static const guint8 pdu [] = { + 0x63, 0x40, 0x00, 0x32, 0x54, 0x14, + 0x00, 0x20, 0x04, 0x1f, 0x04, 0x40, 0x04, 0x3e, + 0x04, 0x42, 0x04, 0x4f, 0x04, 0x33, 0x04, 0x3e, + 0x04, 0x3c, 0x00, 0x20, 0x04, 0x34, 0x04, 0x3d, + 0x04, 0x4f, 0x00, 0x20, 0x04, 0x54, 0x00, 0x20, + 0x04, 0x32, 0x04, 0x38, 0x04, 0x41, 0x04, 0x3e, + 0x04, 0x3a, 0x04, 0x30, 0x00, 0x20, 0x04, 0x56, + 0x04, 0x3c, 0x04, 0x3e, 0x04, 0x32, 0x04, 0x56, + 0x04, 0x40, 0x04, 0x3d, 0x04, 0x56, 0x04, 0x41, + 0x04, 0x42, 0x04, 0x4c, 0x00, 0x20, 0x04, 0x40, + 0x04, 0x30, 0x04, 0x3a, 0x04, 0x35, 0x04, 0x42, + 0x04, 0x3d, 0x16, 0x01, 0x00, 0x00}; + + part = mm_cbm_part_new_from_binary_pdu (pdu, G_N_ELEMENTS (pdu), NULL, &err); + g_assert_error (err, MM_CORE_ERROR, MM_CORE_ERROR_FAILED); + g_assert_null (part); +} + static void parse_cbm (const char *str, MMCbmPart **part) { @@ -242,6 +292,9 @@ int main (int argc, char **argv) /* 2023 NL alert: */ /* https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/253#note_2192474 */ g_test_add_func ("/MM/CBM/PDU-Parser/CBM-NL", test_cbm_nl_2023); + /* Ensure unhandled encodings don't trigger asserts */ + g_test_add_func ("/MM/CBM/PDU-Parser/8bit/error", test_cbm_unhandled_data_coding_group_general_charset_8bit); + g_test_add_func ("/MM/CBM/PDU-Parser/reserved/error", test_cbm_unhandled_data_coding_group_general_charset_reserved); return g_test_run (); } -- 2.55.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.oDvI2J/_old 2026-11-16 09:11:30.486440024 +0100 +++ /var/tmp/diff_new_pack.oDvI2J/_new 2026-11-16 09:11:30.489440150 +0100 @@ -1,7 +1,7 @@ -mtime: 1790794299 -commit: c8df03c911e742a634860e6b2a9d6dad6616f06ca766a5784047a0e4d2d56dc8 +mtime: 1794553194 +commit: 1300b116c01d5d3e7e01c3929d970a2df2aa99336469724432b0a6d20f0f3abd url: https://src.opensuse.org/GNOME/ModemManager -revision: c8df03c911e742a634860e6b2a9d6dad6616f06ca766a5784047a0e4d2d56dc8 +revision: 1300b116c01d5d3e7e01c3929d970a2df2aa99336469724432b0a6d20f0f3abd trackingbranch: factory projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-13 07:59:54.000000000 +0100 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild
