[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b1046b7f-817e-47b5-830d-71b1f9a9b4f0@redhat.com>
Date: Mon, 29 Sep 2025 08:05:17 -0400
From: David Arcari <darcari@...hat.com>
To: Markus Elfring <Markus.Elfring@....de>, kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jerry Hoemann <jerry.hoemann@....com>
Subject: Re: [PATCH] intel_th: core: fix null pointer dereference in
intel_th_irq
Hi Markus,
On 9/27/25 10:54 AM, Markus Elfring wrote:
> …
>> +++ b/drivers/hwtracing/intel_th/core.c
>> @@ -715,7 +715,9 @@ intel_th_subdevice_alloc(struct intel_th *th,
>> int intel_th_output_enable(struct intel_th *th, unsigned int otype)
>> {
>> struct intel_th_device *thdev;
>> - int src = 0, dst = 0;
>> + int src = 0, dst = 0, ret = 0;
>> +
>> + disable_irq(th->irq);
> …
>> - return 0;
>> + enable_irq(th->irq);
>> + return ret;
>> }
> …
>
> How do you think about to increase the application of scope-based resource management?
> https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/interrupt.h#L239-L240
At this point, I think that Alex is the best person to handle the
resolution of this issue.
Best,
-DA
>
> Regards,
> Markus
>
Powered by blists - more mailing lists