Bug 2272596 - Kernel null pointer dereference in 6.7.11 and 6.8.2
Summary: Kernel null pointer dereference in 6.7.11 and 6.8.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL: https://git.kernel.org/pub/scm/linux/...
Whiteboard:
: 2272702 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-02 06:17 UTC by Bojan Smojver
Modified: 2024-04-06 03:14 UTC (History)
23 users (show)

Fixed In Version: kernel-6.8.4-300.fc40 kernel-6.8.4-200.fc39 kernel-6.8.4-100.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-05 23:11:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
journalctl of the kernel (6.68 MB, text/plain)
2024-04-02 06:18 UTC, Bojan Smojver
no flags Details
journalctl of the kernel 6.8.2 (97.80 KB, text/plain)
2024-04-02 22:48 UTC, Bojan Smojver
no flags Details
journalctl of boot with kernel 6.7.11-200 (109.77 KB, text/plain)
2024-04-03 12:22 UTC, Joerg
no flags Details
journal of boot with rawhide kernel 6.9.0-0 (120.75 KB, text/plain)
2024-04-03 12:47 UTC, Joerg
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-silverblue issue-tracker issues 545 0 None open Latest F39 release contains Kernel with broken Bluetooth 2024-04-02 23:41:38 UTC
Linux Kernel 218651 0 P3 NEW kernel 6.8.2 - Bluetooth bug/dump at boot 2024-04-02 23:33:16 UTC

Description Bojan Smojver 2024-04-02 06:17:11 UTC
1. Please describe the problem:

Kernel OOPS on boot and generally unstable operation after that.

2. What is the Version-Release number of the kernel:

kernel-6.7.11-200.fc39.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

kernel-6.7.10-200.fc39.x86_64 and before appear to work fine.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Boot on T450s.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Haven't tried yet.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Attached.

Reproducible: Always

Comment 1 Bojan Smojver 2024-04-02 06:18:23 UTC
Created attachment 2024638 [details]
journalctl of the kernel

Comment 2 Bojan Smojver 2024-04-02 22:32:50 UTC
Just tried 6.9.0-0.rc2.20240402git026e680b0a08.24.fc41.x86_64 and I did not get an OOPS with it. Writing this on the same T450s, with this Rawhide kernel running.

Comment 3 Bojan Smojver 2024-04-02 22:47:41 UTC
I do get an OOPS with 6.8.2 build for F39. A bit different, but also bluetooth related, it seems. Kernel journal attached.

Comment 4 Bojan Smojver 2024-04-02 22:48:13 UTC
Created attachment 2024876 [details]
journalctl of the kernel 6.8.2

Comment 5 Bojan Smojver 2024-04-02 22:49:26 UTC
BTW, all kernels that experience an OOPS on boot also hang when the machine is rebooted. The laptop has to be physically turned off to reboot.

Comment 6 Bojan Smojver 2024-04-02 23:38:05 UTC
https://bbs.archlinux.org/viewtopic.php?id=294292

Comment 9 Piotr Orzechowski 2024-04-03 08:11:24 UTC
*** Bug 2272702 has been marked as a duplicate of this bug. ***

Comment 10 Gurenko Alex 2024-04-03 11:01:22 UTC
So this looks like what I've reported for F40: https://bugzilla.redhat.com/show_bug.cgi?id=2271784 and the upstream BZ: https://bugzilla.kernel.org/show_bug.cgi?id=218651

Comment 11 Joerg 2024-04-03 12:22:44 UTC
Created attachment 2024959 [details]
journalctl of boot with kernel 6.7.11-200

Hi,
I face very similar issues when booting kernel 6.7.11-200 on my Lenovo P1 Gen3:

- The laptop hangs at reboot
- USB-C Dock is not working anymore
  - I can still use an external monitor
  - But USB devices like webcam, keyboard and mouse connected to the dock in my monitor ar not working anymore

Booting older kernel version 6.7.9-200 everything works as expected again. I didn't have the chance to test the rawhide kernel yet.

Comment 12 Joerg 2024-04-03 12:47:02 UTC
Created attachment 2024972 [details]
journal of boot with rawhide kernel 6.9.0-0

Tested with rawhide kernel:
Linux version 6.9.0-0.rc2.23.fc41.x86_64 (mockbuild@2e511805a68343729af852d2a947bcbf) (gcc (GCC) 14.0.1 20240328 (Red Hat 14.0.1-0), GNU ld version 2.42.50.20240318) #1 SMP PREEMPT_DYNAMIC Mon Apr  1 17:39:54 UTC 2024

While USB-C Dock works as expected there is still an OOPS in kernel log and the system (Lenovo P1Gen3) hangs on reboot. I need to turn it physically off.

Comment 13 Fedora Update System 2024-04-04 02:13:31 UTC
FEDORA-2024-7dd4b3b9a4 (kernel-6.8.3-200.fc39 and kernel-headers-6.8.3-200.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4

Comment 14 Fedora Update System 2024-04-05 01:38:12 UTC
FEDORA-2024-41295cb23c has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-41295cb23c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-41295cb23c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2024-04-05 01:40:23 UTC
FEDORA-2024-6b7d840efe has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6b7d840efe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6b7d840efe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2024-04-05 02:03:24 UTC
FEDORA-2024-7dd4b3b9a4 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7dd4b3b9a4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dd4b3b9a4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2024-04-05 23:11:19 UTC
FEDORA-2024-6b7d840efe (kernel-6.8.4-300.fc40 and kernel-headers-6.8.3-300.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-04-06 01:41:57 UTC
FEDORA-2024-7dd4b3b9a4 (kernel-6.8.4-200.fc39 and kernel-headers-6.8.3-200.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2024-04-06 03:14:06 UTC
FEDORA-2024-41295cb23c (kernel-6.8.4-100.fc38 and kernel-headers-6.8.3-100.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.