Skip to content

rpi-kernel: disable CONFIG_BPF_JIT_ALWAYS_ON on 32-bit ARM#61582

Open
leahneukirchen wants to merge 1 commit into
void-linux:masterfrom
leahneukirchen:rpi-seccomp-fix
Open

rpi-kernel: disable CONFIG_BPF_JIT_ALWAYS_ON on 32-bit ARM#61582
leahneukirchen wants to merge 1 commit into
void-linux:masterfrom
leahneukirchen:rpi-seccomp-fix

Conversation

@leahneukirchen

@leahneukirchen leahneukirchen commented Jul 22, 2026

Copy link
Copy Markdown
Member

The BPF JIT for 32-bit ARM platforms has various issues with bigger filters, which are usually circumvented by falling back to the interpreter; however, our configuration prohibited that.

Notably, the updated SECCOMP filter in OpenSSH 10.4 was too big and triggered the errno ENOTSUPP, which broke any login attempt.

See
https://patchew.org/linux/20250813152958.3107403-1-kafai.wan@linux.dev/20250813152958.3107403-3-kafai.wan@linux.dev/ for a discussion about the 32-bit ARM BPF JIT and its faults.

Testing the changes

  • I tested the changes in this PR: on RPi1

Fixes #61578.

The BPF JIT for 32-bit ARM platforms has various issues with bigger
filters, which are usually circumvented by falling back to the
interpreter; however, our configuration prehibited that.

Notably, the updated SECCOMP filter in OpenSSH 10.4 was too big
and triggered the errno ENOTSUPP, which broke any login attempt.

See
https://patchew.org/linux/20250813152958.3107403-1-kafai.wan@linux.dev/20250813152958.3107403-3-kafai.wan@linux.dev/
for a discussion about the 32-bit ARM BPF JIT and its faults.
@leahneukirchen

leahneukirchen commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

(For the record, neither RaspiOS nor Alpine enable the JIT at all for armv[67].)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openssh-10.4p1_1: server connect on rpi model 1b+ gives "kex_exchange_identification: read: Connection reset by peer"

1 participant