Skip to content

Unaligned access by llockd in ext4_delete_entry() #7

@abrodkin

Description

@abrodkin

Boot log:

[    0.000000] Linux version 4.19.14-yocto-standard (oe-user@oe-host) (gcc version 8.2.1 20180814 (GCC)) #1 SMP PREEMPT Thu Feb 7 12:43:04 UTC 2019

...

[    4.151331] Misaligned Access
[    4.155771] Path: /bin/busybox.nosuid
[    4.159419] CPU: 3 PID: 174 Comm: rm Not tainted 4.19.14-yocto-standard #1
[    4.166274]
[    4.166274] [ECR   ]: 0x000d0000 => Check Programmer's Manual
[    4.173551] [EFA   ]: 0xbeaec3fc
[    4.173551] [BLINK ]: ext4_delete_entry+0xce/0x224
[    4.173551] [ERET  ]: ext4_delete_entry+0x176/0x224
[    4.186363] [STAT32]: 0x80080002 : IE K
[    4.190614] BTA: 0x9024795a   SP: 0xbe375ec4  FP: 0x00000000
[    4.196194] LPS: 0x9074b214  LPE: 0x9074b218 LPC: 0x00000000
[    4.201759] r00: 0x00000000  r01: 0x0000090d r02: 0x00000001
[    4.201759] r03: 0x00000000  r04: 0x00000000 r05: 0xbea8ecb0
[    4.201759] r06: 0xbeaec3fc  r07: 0x00000400 r08: 0x00000002
[    4.201759] r09: 0x00000000  r10: 0x000002b4 r11: 0xbeaec32c
[    4.201759] r12: 0x9024795a  r13: 0x9004e574 r14: 0x0008e150
[    4.201759] r15: 0x00098a68  r16: 0x0008cbec r17: 0x00097fe4
[    4.201759] r18: 0x00097fe4  r19: 0x0008e150 r20: 0x0008f0f8
[    4.201759] r21: 0x000000ae  r22: 0x0008f0f8 r23: 0x00000000
[    4.201759] r24: 0x00000000  r25: 0x00000000

Disassembly of problematic code:

90247a02:»      222f 1192           »   llockd» r10,[r6]
90247a06:»      0a13 1081           »   brne.nt»r10,r2,18»      ;90247a16 <ext4_delete_entry+0x18a>
90247a0a:»      0b0f 10c1           »   brne.nt»r11,r3,14»      ;90247a16 <ext4_delete_entry+0x18a>

Note this kernel version (v4.19.14 as well as latest in 4.19.y series v4.19.20) doesn't have my patch that fixes Etnaviv GPU, see torvalds@a66d972.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions