Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Request to backport upstream FAT directory fix to Raspberry Pi OS kernel

Aperta
#7,683 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

The report names upstream commit 6a2875517c778ac1111b6920e94cbab91cda8724 as the fix for FAT16 directory traversal on the Raspberry Pi 6.12.109 kernel. Start by checking that commit against the kernel's FAT directory-reading code and whether the 6.12 branch already contains it. The reporter's disk image and CompactFlash test are not in the repo, so reproduction needs their data. Done means a maintainer decides whether to backport, which is not a first-timer task.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

Hi,
I've encountered a reproducible FAT16 directory-reading problem when accessing CompactFlash cards written by a Psion Series 7/NetBook running EPOC32. But i believe its a generic problem across portable media.

Steps to reproduce the behaviour

On the Raspberry Pi 6.12.109 kernel, directory traversal produces spurious entries and I/O errors. Investigation showed residual directory data beyond the FAT end-of-directory marker.

I identified a upstream Linux commit:

"6a2875517c778ac1111b6920e94cbab91cda8724"

I applied this fix to the Raspberry Pi 6.12.109 kernel source, built and installed a test kernel on a sacrificial Raspberry Pi 4, and verified that:

  • The previously problematic FAT16 disk image traverses correctly.
  • The physical CompactFlash card traverses correctly.
  • File comparisons between the image and physical card succeed.
  • A complete backup and file export workflow completes successfully.

Could this upstream fix be incorporated into the supported Raspberry Pi OS kernel, particularly the 6.12 branch if it remains maintained?

I can provide reproduction details and test results if useful.

Device (s)

Raspberry Pi 4 Mod. B, Raspberry Pi 400

System

https://pastebin.com/XL38zW6s

Logs

No response

Additional context

No response

Lingua principale
C
Stelle
13.2k
Fork
5.5k
Merge medio
1g 17h
PR unite (30g)
22

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di raspberrypi/linux

Tutte le issue di raspberrypi/linux

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.