Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kmscon for openSUSE:Factory checked in at 2026-09-01 15:52:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmscon (Old) and /work/SRC/openSUSE:Factory/.kmscon.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmscon" Tue Sep 1 15:52:14 2026 rev:15 rq:1375137 version:10.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kmscon/kmscon.changes 2026-08-24 15:44:26.894485226 +0200 +++ /work/SRC/openSUSE:Factory/.kmscon.new.1265/kmscon.changes 2026-09-01 15:53:05.485667544 +0200 @@ -1,0 +2,11 @@ +Tue Sep 01 13:11:32 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to version 10.0.3: + * Prepare v10.0.3 + * seat: Fix NULL pointer dereference in seat_monitor_hotplug_dev + * Fix use-after-free crash in seat_go_foreground + * seat: Fix use after free in kmscon_seat_remove_video() +- Drop patches, now upstream: + * 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch + +------------------------------------------------------------------- Old: ---- 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch kmscon-10.0.2.obscpio New: ---- kmscon-10.0.3.obscpio ----------(Old B)---------- Old:- Drop patches, now upstream: * 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmscon.spec ++++++ --- /var/tmp/diff_new_pack.eJUd8E/_old 2026-09-01 15:53:06.828714399 +0200 +++ /var/tmp/diff_new_pack.eJUd8E/_new 2026-09-01 15:53:06.833714573 +0200 @@ -18,15 +18,13 @@ Name: kmscon -Version: 10.0.2 +Version: 10.0.3 Release: 0 Summary: Linux KMS/DRM based virtual Console Emulator License: MIT Group: System/Console URL: https://github.com/kmscon/kmscon Source: %{name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -Patch1: 0001-seat-Fix-use-after-free-in-kmscon_seat_remove_video.patch # PATCH-FIX-DOWNSTREAM Patch100: 0001-Reapply-service-Revert-to-agetty-for-showing-issue.patch BuildRequires: docbook-xsl-stylesheets ++++++ _service ++++++ --- /var/tmp/diff_new_pack.eJUd8E/_old 2026-09-01 15:53:06.928717888 +0200 +++ /var/tmp/diff_new_pack.eJUd8E/_new 2026-09-01 15:53:06.939718272 +0200 @@ -2,7 +2,7 @@ <service mode="manual" name="obs_scm"> <param name="url">https://github.com/kmscon/kmscon.git</param> <param name="scm">git</param> - <param name="revision">v10.0.2</param> + <param name="revision">v10.0.3</param> <param name="changesgenerate">enable</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="versionrewrite-pattern">v(.*?)(\+git0)?$</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.eJUd8E/_old 2026-09-01 15:53:06.978719632 +0200 +++ /var/tmp/diff_new_pack.eJUd8E/_new 2026-09-01 15:53:06.983719806 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kmscon/kmscon.git</param> - <param name="changesrevision">baa2bcc5bde55318dcfbff0dd0090271e1f88674</param></service></servicedata> + <param name="changesrevision">ad9c77bc04f718d0f0d6dfc51291b7d652336429</param></service></servicedata> (No newline at EOF) ++++++ kmscon-10.0.2.obscpio -> kmscon-10.0.3.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmscon-10.0.2/NEWS.md new/kmscon-10.0.3/NEWS.md --- old/kmscon-10.0.2/NEWS.md 2026-08-20 18:29:06.000000000 +0200 +++ new/kmscon-10.0.3/NEWS.md 2026-09-01 12:18:53.000000000 +0200 @@ -1,4 +1,11 @@ = KMSCON Release News = +## CHANGES with 10.0.3 +* seat: Fix use after free in kmscon_seat_remove_video() by @kdj0c in https://github.com/kmscon/kmscon/pull/507 +* Fix use-after-free crash in seat_go_foreground by @jgroman in https://github.com/kmscon/kmscon/pull/512 +* seat: Fix NULL pointer dereference in seat_monitor_hotplug_dev by @jgroman in https://github.com/kmscon/kmscon/pull/513 + +## New Contributors +* @jgroman made their first contribution in https://github.com/kmscon/kmscon/pull/512 ## CHANGES with 10.0.2 ### Important Notes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmscon-10.0.2/meson.build new/kmscon-10.0.3/meson.build --- old/kmscon-10.0.2/meson.build 2026-08-20 18:29:06.000000000 +0200 +++ new/kmscon-10.0.3/meson.build 2026-09-01 12:18:53.000000000 +0200 @@ -5,7 +5,7 @@ project( 'kmscon', 'c', - version: '10.0.2', + version: '10.0.3', license: 'MIT', # meson 0.58: f-string # meson 0.62: dependency libdl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmscon-10.0.2/src/seat.c new/kmscon-10.0.3/src/seat.c --- old/kmscon-10.0.2/src/seat.c 2026-08-20 18:29:06.000000000 +0200 +++ new/kmscon-10.0.3/src/seat.c 2026-09-01 12:18:53.000000000 +0200 @@ -177,6 +177,7 @@ if (!vid->video) { ret = seat_video_init(vid); if (ret) { + uterm_monitor_set_dev_data(vid->udev, NULL); shl_dlist_unlink(&vid->list); free(vid->node); free(vid); @@ -690,7 +691,8 @@ static void seat_monitor_hotplug_dev(void *data, enum uterm_monitor_dev_type type, void *dev_data) { if (type == UTERM_MONITOR_DRM || type == UTERM_MONITOR_FBDEV) - kmscon_seat_poll_video(dev_data); + if (dev_data) + kmscon_seat_poll_video(dev_data); } static struct uterm_monitor_cb seat_monitor_cb = { @@ -1015,7 +1017,7 @@ { struct kmscon_video *vid = data; struct kmscon_display *d; - struct shl_dlist *iter; + struct shl_dlist *iter, *tmp; if (!seat || !vid) return; @@ -1026,7 +1028,7 @@ shl_dlist_unlink(&vid->list); if (vid->video) { - shl_dlist_for_each(iter, &seat->displays) + shl_dlist_for_each_safe(iter, tmp, &seat->displays) { d = shl_dlist_entry(iter, struct kmscon_display, list); if (display_video(d->disp) == vid->video) @@ -1043,6 +1045,9 @@ { struct kmscon_video *vid = data; + if (!vid) + return; + log_debug("poll video device %s on seat %s", vid->node, vid->seat->name); video_poll(vid->video); } ++++++ kmscon.obsinfo ++++++ --- /var/tmp/diff_new_pack.eJUd8E/_old 2026-09-01 15:53:07.637742624 +0200 +++ /var/tmp/diff_new_pack.eJUd8E/_new 2026-09-01 15:53:07.642742798 +0200 @@ -1,5 +1,5 @@ name: kmscon -version: 10.0.2 -mtime: 1787243346 -commit: baa2bcc5bde55318dcfbff0dd0090271e1f88674 +version: 10.0.3 +mtime: 1788257933 +commit: ad9c77bc04f718d0f0d6dfc51291b7d652336429
