lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5cf0ddae7351c4e6637ef19c17b98d7505381fd0.camel@sapience.com>
Date: Tue, 10 Dec 2024 11:00:06 -0500
From: Genes Lists <lists@...ience.com>
To: Stanislaw Gruszka <stanislaw.gruszka@...ux.intel.com>, Greg
 Kroah-Hartman	 <gregkh@...uxfoundation.org>
Cc: Jani Nikula <jani.nikula@...ux.intel.com>, Sakari Ailus	
 <sakari.ailus@...ux.intel.com>, linux-kernel@...r.kernel.org, 
	akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
 stable@...r.kernel.org, 	linux-media@...r.kernel.org, bingbu.cao@...el.com,
 Rodrigo Vivi	 <rodrigo.vivi@...el.com>, Joonas Lahtinen
 <joonas.lahtinen@...ux.intel.com>,  Tvrtko Ursulin <tursulin@...ulin.net>,
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>, 
	intel-gfx@...ts.freedesktop.org, intel-xe@...ts.freedesktop.org, 
	dri-devel@...ts.freedesktop.org
Subject: Re: Linux 6.12.4 - crash dma_alloc_attrs+0x12b via ipu6

On Tue, 2024-12-10 at 16:18 +0100, Stanislaw Gruszka wrote:
> 
> I've reproduced the issue. It's caused by 6.12.y commit:
> 
> commit 6ac269abab9ca5ae910deb2d3ca54351c3467e99
> Author: Bingbu Cao <bingbu.cao@...el.com>
> Date:   Wed Oct 16 15:53:01 2024 +0800
> 
>     media: ipu6: not override the dma_ops of device in driver

Terrific - I missed your comment as I was heads down doing git bisect
which lands on same commit as you - so confirmed.

> The problem will disappear after applying:
> https://lore.kernel.org/stable/20241209175416.59433-1-
> stanislaw.gruszka@...ux.intel.com/
> since the allocation will not longer fail.
> 
> But we also need to handle fail case correctly by adding
> cpu_latency_qos_remove_request() on error path. This requires
> mainline fix, I'll post it. 
> 

Thank you !


Gene


Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ