Skip to contentSkip to conversation

New: skl_int3472_unregister_clock: kernel NULL pointer dereference (HP Elite x2 1013 G3)

Bug 214453 Borislav Petkov 2 participants 4 messages Oct 4, 2021 – Oct 9, 2021 1 message not in the archive x86 platform drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

Adding more people to Cc.

Quoted 40 lines · On Fri, Sep 17, 2021 at 12:18:27PM +0000, [email protected]…

https://bugzilla.kernel.org/show_bug.cgi?id=214453

            Bug ID: 214453
           Summary: skl_int3472_unregister_clock: kernel NULL pointer
                    dereference (HP Elite x2 1013 G3)
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 5.14.5
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: x86-64
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 298863
--> https://bugzilla.kernel.org/attachment.cgi?id=298863&action=edit
dmesg oops log

On a HP Elite x2 1013 G3 a kernel oops is caused by int3472:

[    8.820565] int3472-discrete INT3472:02: No sensor module config
[    8.820569] int3472-discrete INT3472:02: error -EINVAL: Failed to map
regulator to sensor
[    8.820574] BUG: kernel NULL pointer dereference, address: 0000000000000000
[...]
[    8.820654] Call Trace:
[    8.820657]  clkdev_drop+0x1d/0x60
[    8.820665]  skl_int3472_unregister_clock+0x15/0x30 [intel_skl_int3472

a61329898df9463f8661b1eee1ed1e20b1626f62]

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
#2 lore raw

Hi Borislav

Quoted 37 lines · Borislav Petkov

Adding more people to Cc.

Quoted 34 lines · On Fri, Sep 17, 2021 at 12:18:27PM +0000, [email protected]…

https://bugzilla.kernel.org/show_bug.cgi?id=214453

            Bug ID: 214453
           Summary: skl_int3472_unregister_clock: kernel NULL pointer
                    dereference (HP Elite x2 1013 G3)
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 5.14.5
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: x86-64
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 298863
--> https://bugzilla.kernel.org/attachment.cgi?id=298863&action=edit
dmesg oops log

On a HP Elite x2 1013 G3 a kernel oops is caused by int3472:

[    8.820565] int3472-discrete INT3472:02: No sensor module config
[    8.820569] int3472-discrete INT3472:02: error -EINVAL: Failed to map
regulator to sensor
[    8.820574] BUG: kernel NULL pointer dereference, address: 0000000000000000
[...]
[    8.820654] Call Trace:
[    8.820657]  clkdev_drop+0x1d/0x60
[    8.820665]  skl_int3472_unregister_clock+0x15/0x30 [intel_skl_int3472

a61329898df9463f8661b1eee1ed1e20b1626f62]

Thanks for the report; let me take a look and see if I can spot what's going wrong.

Quoted 5 lines
Quoted 5 lines
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw
In reply to Borislav Petkov

Hello

Quoted 37 lines · Borislav Petkov

Adding more people to Cc.

Quoted 34 lines · On Fri, Sep 17, 2021 at 12:18:27PM +0000, [email protected]…

https://bugzilla.kernel.org/show_bug.cgi?id=214453

            Bug ID: 214453
           Summary: skl_int3472_unregister_clock: kernel NULL pointer
                    dereference (HP Elite x2 1013 G3)
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 5.14.5
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: x86-64
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 298863
--> https://bugzilla.kernel.org/attachment.cgi?id=298863&action=edit
dmesg oops log

On a HP Elite x2 1013 G3 a kernel oops is caused by int3472:

[    8.820565] int3472-discrete INT3472:02: No sensor module config
[    8.820569] int3472-discrete INT3472:02: error -EINVAL: Failed to map
regulator to sensor
[    8.820574] BUG: kernel NULL pointer dereference, address: 0000000000000000
[...]
[    8.820654] Call Trace:
[    8.820657]  clkdev_drop+0x1d/0x60
[    8.820665]  skl_int3472_unregister_clock+0x15/0x30 [intel_skl_int3472

a61329898df9463f8661b1eee1ed1e20b1626f62]

I can patch this - but do I need to do to show that the patch is for that specific bug report or anything?

Quoted 5 lines
Quoted 5 lines
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw
Quoted 2 lines · Daniel Scally

I can patch this - but do I need to do to show that the patch is for that specific bug report or anything?

What we do in such cases, usually, is add

to the commit message, under the SOB chain.

Also, you probably also should give in a Fixes: tag the commit ID of the patch your fix is for, so that your fix gets automatically backported to stable.

I.e.:

Fixes 12-char-sha1-abbrev ("Commit title")

HTH.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette