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:
 <BL1PR12MB5176333ACE3287786831B0749AAA2@BL1PR12MB5176.namprd12.prod.outlook.com>
Date: Mon, 7 Apr 2025 06:36:01 +0000
From: "S-k, Shyam-sundar" <Shyam-sundar.S-k@....com>
To: Christian Heusel <christian@...sel.eu>, "Limonciello, Mario"
	<Mario.Limonciello@....com>, Patil Rajesh <Patil.Reddy@....com>,
	Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
CC: Hans de Goede <hdegoede@...hat.com>, "linux@...me.work"
	<linux@...me.work>, "platform-driver-x86@...r.kernel.org"
	<platform-driver-x86@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "regressions@...ts.linux.dev"
	<regressions@...ts.linux.dev>
Subject: RE: [REGRESSION][BISECTED] Firmware load error for TEE on Framework
 Desktop

[Public]

Hi,

The file "f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin" is missing from the "/lib/firmware/amdtee" folder, which is causing the issue. This is because there have been some last-minute modifications to the TA firmware, and as a result, the firmware has not yet been updated. I will inform you once the updated TA firmware is available, so you can provide your feedback at that time.

Thanks,
Shyam

-----Original Message-----
From: Christian Heusel <christian@...sel.eu>
Sent: Saturday, April 5, 2025 00:50
To: S-k, Shyam-sundar <Shyam-sundar.S-k@....com>; Limonciello, Mario <Mario.Limonciello@....com>; Patil Rajesh <Patil.Reddy@....com>; Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Cc: Hans de Goede <hdegoede@...hat.com>; linux@...me.work; platform-driver-x86@...r.kernel.org; linux-kernel@...r.kernel.org; regressions@...ts.linux.dev
Subject: [REGRESSION][BISECTED] Firmware load error for TEE on Framework Desktop

Hello everyone,

I have recently noticed an issue on the Framework Desktop where the following error pops up in dmesg after upgrading to any version beyond
v6.14:

[   12.136102] tee tee0: Direct firmware load for /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin failed with error -2
[   12.141252] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c1:00.1/sound/card0/input8
[   12.141601] failed to load firmware /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin
[   12.141843] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:c1:00.1/sound/card0/input9
[   12.142005] failed to copy TA binary
[   12.185200] Failed to open TEE session err:0x0, rc:-12
[   12.185202] amd-pmf AMDI0105:00: Failed to open TA session (-12)

I have subsequently bisected the issue within the mainline kernel tree to the following commit:

    376a8c2a1443 ("platform/x86/amd/pmf: Update PMF Driver for Compatibility with new PMF-TA")

The error is still present in the latest mainline release 6.14 and sadly testing a revert is not trivially possible due to conflicts.

I also noticed that there is a commit with a fixes tag for the one we have bisected to, but it's included in the same release and therefore does not seem to fix the issue at hand:

    5b1122fc4995 ("platform/x86/amd/pmf: fix cleanup in amd_pmf_init_smart_pc()")

I have attached a dmesg output from a good boot and one from the 6.14 where the failure occurs. I'm happy to test any debug patches or provide more information if needed.

Greeting,
Chris

---

#regzbot introduced: 376a8c2a1443
#regzbot title: x86/amd/pmf: Error on firmware load for TEE

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ