pinctrl_emmitsburg module on L-6.2 cause failure to test_095_kernel_symbols_missing_proc_modules in ubuntu_qrt_kernel_security

Bug #2029214 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Lunar
New
Undecided
Unassigned

Bug Description

Issue found with 6.2.0-26-generic on node grumman from Intel SDP cloud.

Looks like this pinctrl_emmitsburg module does not match the requirement of test_095_kernel_symbols_missing_proc_modules test in ubuntu_qrt_kernel_security.

Test failed with:
$ sudo python3 ./test-kernel-security.py -v KernelSecurityTest.test_095_kernel_symbols_missing_proc_modules
Running test: './test-kernel-security.py' distro: 'Ubuntu 23.04' kernel: '6.2.0-26.26 (Ubuntu 6.2.0-26.26-generic 6.2.13)' arch: 'amd64' init: 'systemd' uid: 0/0 SUDO_USER: 'ubuntu')
test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest.test_095_kernel_symbols_missing_proc_modules)
kernel addresses in /proc/modules are zeroed out ... (In 4.15+, /proc/modules always zeroed for users) FAIL

======================================================================
FAIL: test_095_kernel_symbols_missing_proc_modules (__main__.KernelSecurityTest.test_095_kernel_symbols_missing_proc_modules)
kernel addresses in /proc/modules are zeroed out
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 1431, in test_095_kernel_symbols_missing_proc_modules
    self._check_pK_files(self._095_kernel_symbols_missing_proc_modules, expected=expected)
  File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 1289, in _check_pK_files
    test_function(expected_restricted)
  File "/home/ubuntu/autotest/client/tmp/ubuntu_qrt_kernel_security/src/qa-regression-testing/scripts/./test-kernel-security.py", line 1329, in _095_kernel_symbols_missing_proc_modules
    self.assertTrue(os.path.exists(module_path),
AssertionError: False is not true : Module text section /sys/module/pinctrl_emmitsburg/sections/.text does not exist

----------------------------------------------------------------------
Ran 1 test in 0.048s

FAILED (failures=1)

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-6.2.0-26-generic 6.2.0-26.26
ProcVersionSignature: User Name 6.2.0-26.26-generic 6.2.13
Uname: Linux 6.2.0-26-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k6.2.0-26-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: maas
CloudName: maas
CloudPlatform: maas
CloudSerial: 20230524
CloudSubPlatform: seed-dir (http://192.168.102.22:5248/MAAS/metadata/)
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Tue Aug 1 09:04:34 2023
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 1d6b:0107 Linux Foundation USB Virtual Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
 /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
     |__ Port 11: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M
MachineType: Intel Corporation ArcherCity
ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=77d6e516-5dd8-4983-9afa-013505099591 ro apparmor=1
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-26-generic N/A
 linux-backports-modules-6.2.0-26-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1.2
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
acpidump:

dmi.bios.date: 02/26/2023
dmi.bios.vendor: Intel Corporation
dmi.bios.version: EGSDCRB1.SYS.0100.D09.2302261433
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: ArcherCity
dmi.board.vendor: Intel Corporation
dmi.board.version: ..........
dmi.chassis.asset.tag: ....................
dmi.chassis.type: 23
dmi.chassis.vendor: ...............................
dmi.chassis.version: ..................
dmi.modalias: dmi:bvnIntelCorporation:bvrEGSDCRB1.SYS.0100.D09.2302261433:bd02/26/2023:svnIntelCorporation:pnArcherCity:pvr....................:rvnIntelCorporation:rnArcherCity:rvr..........:cvn...............................:ct23:cvr..................:skuSKUNumber:
dmi.product.family: Family
dmi.product.name: ArcherCity
dmi.product.sku: SKU Number
dmi.product.version: ....................
dmi.sys.vendor: Intel Corporation

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in linux (Ubuntu):
status: New → Invalid
tags: added: 6.2 sru-20230710 ubuntu-qrt-kernel-security
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is also affecting J-oem-6.5.0-1004.4 on node grumman as well.

tags: added: 6.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.