Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1248978

Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core

From Kim Alvefur <zash@zash.se>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core
Date 2025-06-04 13:10 +0200
Message-ID <KTUam-88kU-13@gated-at.bofh.it> (permalink)
References (5 earlier) <KPYvT-5peA-1@gated-at.bofh.it> <KSCfw-76BG-9@gated-at.bofh.it> <KTQT7-8622-1@gated-at.bofh.it> <KPYvT-5peA-1@gated-at.bofh.it> <KTQT7-8622-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Salvatore,

Thanks for all your help so far!

On Wed, Jun 04, 2025 at 09:32:05AM +0200, Salvatore Bonaccorso wrote:
>If you updates from bookworm to trixie then start with the bookworm
>based kernel and bisect there the debian image versions first until we
>get a closer range where an upstream change happened.

>Note I have forwarded the report to usptream but so far no reaction.
>It might actually be that with the trixie system and the older kernel
>you will hit now the issue as well as it is just undovered by having
>iio-sensor-proxy running (you could double check in your apt/dpkg logs
>if it was already installed under bookworm though).

I installed the bookworm kernel and the null pointer dereference
happened there too with iio-sensor-proxy unmasked.

After also downgrading iio-sensor-proxy to the bookworm version it did
not happen, which explains why I never saw this while on bookworm.

Older iio-s-p on kernel 6.12.29 doesn't trigger it either.

 From what I can tell, iio-sensor-proxy was installed before upgrading to
trixie, it was upgraded from 3.0-2 to 3.5-2 on Feb 27 which was when I
upgraded to trixie.

Tried downgrading to linux 5.10.0-32 from oldstable, with iio-s-p from
trixie, not seeing the null pointer deref then.

iio-sensor-proxy says this:
Jun 04 12:58:44 spisula systemd[1]: Starting iio-sensor-proxy.service - IIO Sensor Proxy service...
Jun 04 12:58:44 spisula systemd[1]: Started iio-sensor-proxy.service - IIO Sensor Proxy service.
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Could not find trigger name associated with /sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Could not write to '/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0/buffer/enable': Operation not permitted
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Unable to enable ring buffer for /sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Not a switch [/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0/../capabilities/sw]
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Invalid bitmask entry for /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input18/event9

-- 
Kim

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core Kim Alvefur <zash@zash.se> - 2025-05-24 17:00 +0200
  Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core Salvatore Bonaccorso <carnil@debian.org> - 2025-05-25 17:00 +0200
  Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core Salvatore Bonaccorso <carnil@debian.org> - 2025-05-31 21:00 +0200
  Bug#1106411: kernel NULL pointer dereference in bmc150_accel_core / RIP: 0010:bmc150_accel_set_interrupt+0x68/0x120 [bmc150_accel_core] Kim Alvefur <zash@zash.se> - 2025-06-01 00:10 +0200
  Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core Salvatore Bonaccorso <carnil@debian.org> - 2025-06-04 09:40 +0200
    Bug#1106411: linux-image-6.12.27-amd64: kernel NULL pointer dereference in bmc150_accel_core Kim Alvefur <zash@zash.se> - 2025-06-04 13:10 +0200

csiph-web