From mboxrd@z Thu Jan 1 00:00:00 1970 From: AL-KERNEL To: kernel-cve@kernelcve.org Subject: [CVE-2026-99512][IMPORTANT] media: au0828: fix use-after-free in bulk_timeout timer on disconnect Date: Sat, 21 Nov 2026 15:40:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AL-KERNEL-CVE: CVE-2026-99512 X-AL-KERNEL-Priority: IMPORTANT X-AL-KERNEL-Severity: IMPORTANT X-AL-KERNEL-Base-Severity: IMPORTANT X-AL-KERNEL-KPANIC: NO X-AL-KERNEL-ActionableScore: 1 X-AL-KERNEL-ActionableScore-Lower: unknown X-AL-KERNEL-Commit: 0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc List-Id: CVE: CVE-2026-99512 Priority: IMPORTANT AL-KERNEL base severity: IMPORTANT KPANIC flag: NO Patch: media: au0828: fix use-after-free in bulk_timeout timer on disconnect Commit: 0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99512 Analysis date: Sat, 21 Nov 2026 15:40:20 -0400 ActionableScore: 1 ActionableScore lower bound: unknown Actionable bucket: Ordinary Moderate Manual review required: NO Summary: Disconnect can free an au0828 device while its timeout remains active, allowing the later timer callback to queue work through the freed driver context. ====================================================================== ABOUT THIS REPORT ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99512 is available here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99512 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: IMPORTANT Manual review required: NO A detailed explanation of the methodology and priority rules is included at the end of this message. ====================================================================== AL-KERNEL CLASSIFICATION RESULT ====================================================================== CVE-2026-99512 IMPORTANT https://www.kernelcve.org/list/?q=CVE-2026-99512 CHECK WITH IMPACT FROM ORIG NN MODERATE | AEGIS IMPACT IMPORTANT AEGIS_AS=6 LEGACY=IMPORTANT RESULT=SAME V39_AEGIS_ONE_STEP_UP=MODERATE_KPANIC->IMPORTANT TEMP_DISTANCE_MERGE=MODERATE->MODERATE_KPANIC;AEGIS=IMPORTANT;GAP=2 (final reconciliation agrees; DECISION: both IMPORTANT) Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H';*CWE-416;CWE-362;*CWE-672;Other CVSS 'AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H';BEST CVSS score: '6.4';DESCR 'A lifecycle race in the au0828 USB media driver can leave bulk_timeout armed while au0828_usb_release frees dev. The later timer callback derives dev from the freed timer object and queues restart_streaming through memory embedded in the freed allocation. This is a concrete use after free with a likely kernel crash and a plausible memory corruption path if the allocation is reused before the callback runs. For the CVSS the PR:N value is selected because physical connection or disconnection does not inherently require an authenticated operating system account. AV:P reflects that the demonstrated trigger depends on controlling or physically disconnecting the affected USB device. AC:H reflects the required timer and disconnect timing. The base impact is C:L I:L A:H. The paranoid impact is C:H I:H A:H because workqueue interaction with reclaimed memory could have stronger consequences, although privilege escalation is not proven. Automated impact decision path. The original SimpleNet classifier selected MODERATE. The primary LLM estimated paranoid CVSS 6.4 and the production ActionableScore returned 1 with recommendation Ordinary Moderate. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were final reconciliation stage MODERATE to IMPORTANT because the cross model evidence reconciliation rule was applied. The legacy KP specialist has no review artifact for this run. The legacy FD or DH downgrade specialist has no review artifact for this run. Exact triggered rule markers were TEMP_DISTANCE_MERGE and V39_AEGIS_ONE_STEP_UP and MANUAL_REVIEW_REQUIRED. The independent weaker Aegis shadow evaluated CVSS 2.0 and ActionableScore 6 with primitive class CLASS_B and manual review REQUIRED. Its independently reconciled impact was IMPORTANT. Cross model aggregation changed the production result under an enabled evidence gated merge rule. The final reported impact is IMPORTANT.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Ordinary Moderate (with actual score 1) MAYBE USB INIT LEAK UAF TIMER HARDWARE LINUS TEMP_DISTANCE_MERGE V39_AEGIS_ONE_STEP_UP MANUAL_REVIEW_REQUIRED - - checked ====================================================================== ACTIONABLESCORE ANALYSIS ====================================================================== ActionableScore=1 PrimitiveClass=CLASS_B RealUAF=YES HostAdminRequired=UNKNOWN NamespaceScopedPrivilege=UNKNOWN ImportantCandidate=NO ManualReview=RECOMMENDED AutoDowngradeAllowed=YES RequiresHostUID0=UNKNOWN AuthorizationDecisionBypass=NO ProtectedResourceImpact=NONE B4PendingReview=NO B4PendingConfirmed=NO 1. ActionableScore * Raw base score: 1. * Conservative score: 1; no floor applied because this is a specialized, fixed driver-context asynchronous UAF with no demonstrated reclaim or broader active-object use. * Raw paranoid score: 1. * Paranoid score: 1; theoretical allocator reuse is insufficient for another point. * Final recommended bucket: **Ordinary Moderate**:: 2. Signal breakdown * +2 — Real UAF: `au0828_usb_release()` can free `dev` while `bulk_timeout` remains armed or pending; the callback then obtains the freed `dev` through `timer_container_of()`. * +1 — Plausible kernel crash/strong DoS: the callback queues `restart_streaming` using a `work_struct` embedded in the freed allocation. * -2 — Physical/specialized hardware exposure: reaching this path requires an affected au0828 USB media device and device disconnect/removal. * No race penalty: although asynchronous ordering is required, an armed timer surviving disconnect may fire naturally; the evidence does not establish a narrow, low-probability race. * No controlled reclaim, attacker-shaped replacement object, arbitrary write, callback-pointer control, disclosure, or LPE is shown. * No structured stale-object leverage point: the shown operation uses the same freed driver context during disconnect; attacker influence over reused contents is not established. * No extra availability point: it would duplicate the same potential crash. * NEW52/B5-R and NEW53/B3-PENDING do not apply; there is no retry-accumulated OOB write or shared-backing write. 3. Reachability analysis The complete trigger requires active streaming on affected USB hardware followed by disconnect while the timeout remains armed. Physical removal itself needs no authenticated host account, but the evidence does not establish who can initiate the required streaming state or whether device-node permissions permit a non-admin actor. Therefore host-admin and UID-0 requirements remain unknown. No namespace capability path, prior delegation, or remote trigger is shown. 4. Primitive and severity reading This is a concrete asynchronous UAF involving a fixed driver context containing a timer and work item. The stale callback queues work through freed storage, so it is CLASS_B rather than a mere bookkeeping defect. The patch establishes post-free use and plausible crash, but not controlled replacement, a useful post-free payload, or a security-boundary crossing. It is therefore not an Important candidate on current evidence, and automatic downgrade remains allowed. 5. One-sentence report phrase Disconnect can free an au0828 device while its timeout remains active, allowing the later timer callback to queue work through the freed driver context. 6. Manual review advice MANUAL CHECK RECOMMENDED Confirm device-node access, disconnect reproducibility, and whether `queue_work()` can mutate reclaimed storage before a fault. 7. Call-site confidence Call-site confidence: high ====================================================================== UPSTREAM PATCH SUMMARY ====================================================================== Patch: media: au0828: fix use-after-free in bulk_timeout timer on disconnect Commit: 0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc Commit description: start_urb_transfer() arms dev->bulk_timeout, whose callback au0828_bulk_timeout() queues dev->restart_streaming; that work in turn calls start_urb_transfer() and re-arms the timer. au0828_dvb_unregister() cancels restart_streaming on disconnect but does not sync bulk_timeout. au0828_usb_release() then frees dev with kfree(), so a timer still armed or pending at that point can fire after the free and dereference dev through timer_container_of(). Sync the timer with timer_shutdown_sync() before cancel_work_sync(). The timer callback queues the work, so the timer must be stopped first; the shutdown variant is needed because the work re-arms the timer through start_urb_transfer(). The dvb->frontend == NULL early return guards the register-failure path where the timer was never set up. This bug was found by static analysis. Fixes: 53460c5 ("[media] au0828: Add timer to restart TS stream if no data arrives on bulk endpoint") Cc: stable@vger.kernel.org Assisted-by: Codex:gpt-5.6 Signed-off-by: Fan Wu Signed-off-by: Hans Verkuil Signed-off-by: Greg Kroah-Hartman Changed files: drivers/media/usb/au0828/au0828-dvb.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=0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc ====================================================================== DETAILED REPORT METHODOLOGY ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99512 can be found here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99512 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:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H The Best / paranoid CVSS vector: AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H The Best / paranoid CVSS score: 6.4 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: unknown Paranoid ActionableScore: 1 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: IMPORTANT KPANIC detected for this report: NO Published priority for this report (same as in Subject): IMPORTANT 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).