From mboxrd@z Thu Jan 1 00:00:00 1970 From: AL-KERNEL To: kernel-cve@kernelcve.org Subject: [CVE-2026-99305][MODERATE 7.0] fbdev: udlfb: don't rebuild the mode list while the framebuffer is in use Date: Thu, 19 Nov 2026 22:17:24 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AL-KERNEL-CVE: CVE-2026-99305 X-AL-KERNEL-Priority: MODERATE 7.0 X-AL-KERNEL-Severity: MODERATE 7.0 X-AL-KERNEL-Base-Severity: MODERATE X-AL-KERNEL-KPANIC: YES X-AL-KERNEL-ActionableScore: 6 X-AL-KERNEL-ActionableScore-Lower: 5 X-AL-KERNEL-Commit: 291010d5de1c9efc38e98c416b6230500bfae438 List-Id: CVE: CVE-2026-99305 Priority: MODERATE 7.0 AL-KERNEL base severity: MODERATE KPANIC flag: YES Patch: fbdev: udlfb: don't rebuild the mode list while the framebuffer is in use Commit: 291010d5de1c9efc38e98c416b6230500bfae438 Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=291010d5de1c9efc38e98c416b6230500bfae438 Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99305 Analysis date: Thu, 19 Nov 2026 22:17:24 -0400 ActionableScore: 6 ActionableScore lower bound: 5 Actionable bucket: Actionable Moderate / Strong Important candidate requiring manual review Manual review required: YES Summary: An unprivileged EDID sysfs write frees a modelist still referenced by fbcon, causing later console switching to consume a dangling structured mode object and potentially crash the kernel. ====================================================================== ABOUT THIS REPORT ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99305 is available here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99305 The original announcement does not normally provide a security severity estimate, CVSS assessment, or enough information to determine whether the reported kernel bug represents a practically relevant security issue. This report was generated by AL-KERNEL, an AI-assisted Linux kernel vulnerability analysis system developed by Alexander Larkin. It combines an autonomous classifier with LLM-assisted technical analysis and a separate ActionableScore mechanism. The purpose of this report is to prioritize Linux kernel CVEs before manual review, identify cases that require prompt investigation, and support automatic closure of issues that are unlikely to have meaningful security impact. Published priority for this report: MODERATE 7.0 Manual review required: YES A detailed explanation of the methodology and priority rules is included at the end of this message. ====================================================================== AL-KERNEL CLASSIFICATION RESULT ====================================================================== CVE-2026-99305 MODERATE https://www.kernelcve.org/list/?q=CVE-2026-99305 CHECK WITH IMPACT FROM ORIG NN MODERATE | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=4 LEGACY=MODERATE_KPANIC RESULT=SAME (final reconciliation agrees; DECISION: both MODERATE_KPANIC) Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H';*CWE-416;*CWE-672;*CWE-664;Other CVSS 'AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H';BEST CVSS score: '7';DESCR 'An unprivileged local user can write to the mode 0666 udlfb edid sysfs attribute while the framebuffer is in use. dlfb_setup_modes then frees the modelist before rejecting the update, while fbcon retains raw pointers to the freed fb_videomode objects. A later console switch dereferences a dangling mode pointer in fb_videomode_to_var and can cause a kernel crash. For the CVSS the PR:L value is selected because triggering requires a local user or process even though no administrative capability is required. The confirmed primitive is a use after free read. Reliable escalation would require reclaiming the freed object and obtaining a useful downstream effect from attacker influenced mode fields, so it remains an unproven worst case rather than confirmed impact. Automated impact decision path. The original SimpleNet classifier selected MODERATE. The primary LLM estimated paranoid CVSS 7 and the production ActionableScore returned 6 with recommendation Actionable Moderate / Strong Important candidate requiring manual review. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were CVSS and initial triage stage MODERATE to IMPORTANT because the CVSS score, vector or bug class threshold rule was applied. KP and FD specialist checks stage IMPORTANT to MODERATE_KPANIC because a specific evidence based protection or manual review veto was applied and FD false positive review allowed a downgrade. The legacy KP specialist produced a review artifact and its decision was processed by the applicable KP rules. The legacy FD or DH downgrade specialist produced a review artifact and its decision was processed by the applicable downgrade and preservation rules. Exact triggered rule markers were INCREASED_TO_HIGH_BASED_ON_GUESSCVSS and V33_ACTIVE_STATE_BOUNDARY_CANDIDATE and IMPORTANT_CANDIDATE_MANUAL_REVIEW and KP_ONLY_DOWNGRADE_VETO and DECREASED_TO_MODERATE7_BASED_ON_FALSEPOSCHECKOFDH. The independent weaker Aegis shadow evaluated CVSS 3.0 and ActionableScore 4 with primitive class CLASS_B and manual review REQUIRED. Its independently reconciled impact was MODERATE_KPANIC. The shadow agreed with the final production impact and aggregation did not change that impact. The final reported impact is MODERATE_KPANIC.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Actionable Moderate / Strong Important candidate requiring manual review (with actual score 6) MAYBE READ OOB LEAK UAF LINUS KPANIC INCREASED_TO_HIGH_BASED_ON_GUESSCVSS V33_ACTIVE_STATE_BOUNDARY_CANDIDATE IMPORTANT_CANDIDATE_MANUAL_REVIEW KP_ONLY_DOWNGRADE_VETO DECREASED_TO_MODERATE7_BASED_ON_FALSEPOSCHECKOFDH - - checked ====================================================================== ACTIONABLESCORE ANALYSIS ====================================================================== ActionableScore=6 ActionableScoreLower=5 PrimitiveClass=CLASS_B RealUAF=YES HostAdminRequired=NO NamespaceScopedPrivilege=NO ImportantCandidate=YES ManualReview=REQUIRED AutoDowngradeAllowed=NO RequiresHostUID0=NO AuthorizationDecisionBypass=NO ProtectedResourceImpact=NONE B4PendingReview=NO B4PendingConfirmed=NO 1. ActionableScore * Raw base score: 5. * Conservative score: 5; no floor or cap changed the arithmetic. * Raw paranoid score: 6. * Paranoid score: 6; the extra point reflects a technically credible attacker-influenced mode-list rebuild and later structured-field consumption. * Final recommended bucket: **Actionable Moderate / Strong Important candidate requiring manual review**:: 2. Signal breakdown * +2 Real UAF: `fb_destroy_modelist()` frees `fb_videomode` objects while `fb_display[i].mode` still references them. * +1 Local unprivileged trigger: the `edid` sysfs attribute is mode 0666 and the commit explicitly confirms an unprivileged write reaches the defect. * +1 Reliable kernel crash/strong DoS: KASAN confirms the stale read in `fb_videomode_to_var()` during console switching; a kernel fault is plausible. * +1 Attacker-influenced lifetime transition: the attacker’s EDID write directly causes destruction/rebuilding of the live modelist while fbcon retains references. * Paranoid +1 Structured stale-object leverage: rebuilding from attacker-supplied EDID plausibly creates attacker-influenced replacement mode objects, while the stale consumer reads mode fields for console configuration. Actual same-address reclaim is not demonstrated. No points were awarded for controlled reclaim, arbitrary write, disclosure, LPE, or confidentiality/integrity impact. No second availability point was added for the same crash. This is not a repeated-release/refcount case, and no FLOOR 5 adjustment was needed because raw base already equals 5. 3. Reachability analysis An ordinary local user can invoke the vulnerable 0666 sysfs write without UID 0 or an administrative capability. The framebuffer must be in use, after which a console switch consumes the dangling pointer. No namespace capability, prior privileged delegation, race, or separate vulnerability is shown as necessary. The path requires udlfb hardware and an active framebuffer/console configuration, but the evidence does not establish rare physical attacker access or justify a hardware penalty. Namespace scope is inapplicable rather than an alternate trigger route. 4. Primitive and severity reading This is a confirmed UAF read of an active structured `fb_videomode`, not fixed stale storage and not cleanup-only consumption. The stale fields are used by `fb_videomode_to_var()` in normal console switching after the attacker-triggered free. The proven effect is stale structured-state consumption with crash potential. Attacker-shaped reclaim and useful manipulation of the resulting framebuffer variables remain plausible but unproven; no kernel write or privilege escalation is established. It is therefore CLASS_B, not CLASS_A. ImportantCandidate is YES because an unprivileged attacker directly causes an active structured-object lifetime violation followed by a privileged kernel consumer, with replacement/reuse leverage unresolved. Auto-downgrade is disallowed pending review of allocator reuse and downstream use of converted mode fields. There is no authorization DENY-to-ALLOW defect, so B4-PENDING does not apply. 5. One-sentence report phrase An unprivileged EDID sysfs write frees a modelist still referenced by fbcon, causing later console switching to consume a dangling structured mode object and potentially crash the kernel. 6. Manual review advice MANUAL CHECK REQUIRED Review attacker influence over rebuilt mode allocations, slab reuse, and downstream framebuffer-variable consumption before assigning final Important versus Moderate severity. 7. Call-site confidence Call-site confidence: high ====================================================================== UPSTREAM PATCH SUMMARY ====================================================================== Patch: fbdev: udlfb: don't rebuild the mode list while the framebuffer is in use Commit: 291010d5de1c9efc38e98c416b6230500bfae438 Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=291010d5de1c9efc38e98c416b6230500bfae438 Commit description: dlfb_setup_modes() frees info->modelist with fb_destroy_modelist() and rebuilds it, but fbcon holds raw pointers into that list in fb_display[i].mode and nothing un-publishes them the way do_unregister_framebuffer() and store_modes() do with fbcon_delete_modelist(). The function does refuse to install a new mode while the framebuffer has users (dlfb->fb_count != 0), but only after the list is already destroyed. Reached from the 0666 "edid" sysfs attribute, an unprivileged write to /sys/class/graphics/fb0/edid therefore fails with -EINVAL and still leaves every fb_display[i].mode dangling; the next console switch reads the freed fb_videomode in fb_videomode_to_var(). Test fb_count before touching the list. fbcon takes a reference through fbcon_open(), so that condition covers exactly the states in which fb_display[] points into the list, and the errno returned to userspace is unchanged. BUG: KASAN: slab-use-after-free in fb_videomode_to_var (drivers/video/fbdev/core/modedb.c:905) Read of size 4 at addr ffff8880107b449c by task kworker/1:1/47 Workqueue: events console_callback Call Trace: fb_videomode_to_var (drivers/video/fbdev/core/modedb.c:905) display_to_var (drivers/video/fbdev/core/fbcon.c:998) fbcon_switch (drivers/video/fbdev/core/fbcon.c:2182) redraw_screen (drivers/tty/vt/vt.c:994) complete_change_console (drivers/tty/vt/vt_ioctl.c:1141) console_callback (drivers/tty/vt/vt.c:3358) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) ... The buggy address is located 28 bytes inside of freed 96-byte region [ffff8880107b4480, ffff8880107b44e0) Cc: stable@vger.kernel.org Fixes: 7d9485e ("Staging: udlfb: Add functions to expose sysfs metrics and controls") Reported-by: co+ed9902f2e44184d9@bugs.sh Closes: https://lore.kernel.org/all/1jSCSNaDKmuUG7h40rTsSl1rMaSwdlJef4rp%40bugs.sh/ Assisted-by: Claude:claude-opus-5 Signed-off-by: Xiang Mei Link: https://lore.kernel.org/all/1jSCSNaDKmuUG7h40rTsSl1rMaSwdlJef4rp%40bugs.sh/ Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman Changed files: drivers/video/fbdev/core/modedb.c drivers/video/fbdev/core/fbcon.c drivers/tty/vt/vt.c drivers/tty/vt/vt_ioctl.c kernel/workqueue.c kernel/kthread.c arch/x86/kernel/process.c arch/x86/entry/entry_64.S drivers/video/fbdev/udlfb.c Diff excerpt: Not included in this email. See the upstream URL for the full patch. Full patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=291010d5de1c9efc38e98c416b6230500bfae438 ====================================================================== DETAILED REPORT METHODOLOGY ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99305 can be found here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99305 The original CVE announcement normally does not include a security-level estimate. In particular, it may not contain a CVSS assessment, an impact level, or enough information to determine whether the reported bug is a practically relevant security issue. One purpose of this parallel CVE list is to provide that missing technical and prioritization information. The original goal of the AL-KERNEL project was to prioritize Linux kernel CVE analysis automatically before manual review. The system can also help identify non-security issues that may be suitable for automatic closure. This report was generated by AL-KERNEL, an AI-assisted Linux kernel vulnerability analysis system developed by Alexander Larkin. The first analysis stage combines an autonomous classifier with additional LLM-based analysis. The autonomous classifier runs locally on a CPU and is based on a backpropagation neural network. Together, these mechanisms produce a technical vulnerability description, identify likely weakness types, estimate CVSS severity, and provide input for ActionableScore. Two CVSS estimates are retained because incomplete kernel vulnerability information often permits more than one defensible interpretation: Conservative CVSS vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H The Best / paranoid CVSS vector: AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H The Best / paranoid CVSS score: 7 The conservative vector represents a lower-impact interpretation. The Best/paranoid vector intentionally represents a plausible upper-bound interpretation and should not automatically be treated as demonstrated real-world impact. CVSS may also need to be adjusted for a particular Linux deployment, because actual reachability, privileges, enabled kernel configuration, hardware, namespaces, exposed device nodes, and other environmental conditions can differ significantly between systems. A separate ActionableScore mechanism evaluates practical remediation urgency. Its analysis may include reachability, attack prerequisites, subsystem exposure, memory-corruption characteristics, denial-of-service reliability, and possible confidentiality, integrity, or privilege-escalation impact. Conservative ActionableScore: 5 Paranoid ActionableScore: 6 The final base severity is taken directly from the second tab-separated field of the AL-KERNEL classification result. ActionableScore does not replace or independently override that final AL-KERNEL decision, and if ActionableScore adjusted impact level of ALKERNEL, then you would see self-readable flags above like INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHEREQTHAN7. For an AL-KERNEL result of MODERATE, this report uses the following additional presentation split: ActionableScore below 5 -> MODERATE REGULAR ActionableScore 5 or more -> MODERATE 7.0 The distinction between MODERATE REGULAR and MODERATE 7.0 makes it possible to identify Moderate issues that should receive manual analysis and fixes before lower-priority MODERATE REGULAR issues. In many cases, MODERATE REGULAR fixes may wait for a later rebase or routine update. There is one override in which MODERATE REGULAR becomes MODERATE 7.0 even when the ActionableScore is below 5. When the AL-KERNEL result contains the KPANIC flag, a MODERATE result is always presented as MODERATE 7.0. The KPANIC flag selected with few regexps without usage of AI at all, so it helps to detect cases when Kernel Crash happens and similar (to filter False-Negative results from the LLM usage). KPANIC indicates that a reliable kernel crash, kernel panic, or similarly serious kernel availability impact was identified by the classification workflow. AL-KERNEL base severity for this report: MODERATE KPANIC detected for this report: YES Published priority for this report (same as in Subject): MODERATE 7.0 These results are intended to support engineering triage. They are machine-generated estimates, and cases marked for manual review should be validated by a human security engineer before final disposition. For more info read docs linked from here: https://kernelcve.org/ (and you can submit you own patch there to generate such a report for non-existant CVE-id yet). Note that in many cases this AI tool selects higher severity, than real is (means you can expect Importants instead of Moderate 7.0 or Moderates 7.0 instead of regular Moderates). If you see such cases, please use reply email interface to add additional manual analyses info to this particular CVE. And please, please, let me know when you see Lows instead of Importants or Important instead of Low (because particular for such cases I need to tune this AI tool to make it better for this one and next similar). My contact email for such notifications is alexanjelausa@gmail.com (and both send reply to CVE record itself too and see "reply" button below for howto reply).