This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  7b59786b238b90b9a2ac5259582c75ce9345bef2 (commit)
       via  236262bc2c9e2c806485580b1b5188dde1288873 (commit)
       via  3186612724e36ea9a2d673461eae3af7c8e45176 (commit)
       via  c0b6259448168deda34f0c47a2e79fbc9e067b76 (commit)
       via  86b2dec1a144ed2a00c3aaad1d8658d3ef6efbe7 (commit)
       via  260311eb8b060f795ad5360a6efdd9d98d555641 (commit)
       via  d3a7fb107024952eac6df5b623aa34f01eb4798b (commit)
      from  ff8386cdf4abcc6d23ea886c055bac035246bacc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b59786b238b90b9a2ac5259582c75ce9345bef2
Author: 7778777 <[email protected]>
Date:   Wed Nov 18 20:40:12 2026 +0100

    pfinet: drop the frame when the driver does not take it
    
    ethernet_xmit asserted on every error from device_write except the two
    that mean the driver died.  The write is made with D_NOWAIT, so a driver
    whose transmit queue is full answers D_WOULD_BLOCK, and a device error
    gives D_IO_ERROR: either of them aborted pfinet, and with it every
    socket of the system.
    
    Such a frame is now counted in tx_dropped and dropped.

commit 236262bc2c9e2c806485580b1b5188dde1288873
Author: 7778777 <[email protected]>
Date:   Wed Nov 18 20:40:12 2026 +0100

    libbpf: refuse a null or dead receive port in net_set_filter
    
    In the filter list, an entry whose rcv_port is MACH_PORT_NULL is the
    header of a hash table: net_set_filter, remove_dead_filter and the
    delivery code cast such an entry to net_hash_header_t and walk its
    table.  net_set_filter stored whatever port its caller passed, so a
    filter installed for MACH_PORT_NULL was later read as a header, beyond
    the end of its allocation.
    
    eth-multiplexer does not get this far, because its dead-name request
    fails first.  A caller that does not make that request, or goes on
    after it failed, reached it.

commit 3186612724e36ea9a2d673461eae3af7c8e45176
Author: birdneststream <[email protected]>
Date:   Tue Nov 17 06:22:57 2026 +0000

    fsck: fix the FSCK_EX_IS_FIXED and FSCK_EX_IS_BROKEN range checks
    
    Both macros tested `_st >= LOW || _st <= HIGH', a disjunction of a
    lower and an upper bound that is true for every integer.  The wrapper
    therefore treated every child fsck exit status -- errors, signals,
    exec failures -- as FSCK_EX_IS_FIXED, and fsck_cleanup remounted the
    just-failed filesystem read-write again.  Test the intended [1,2] and
    [4,8] ranges with &&.

commit c0b6259448168deda34f0c47a2e79fbc9e067b76
Author: birdneststream <[email protected]>
Date:   Tue Nov 17 06:24:03 2026 +0000

    diskfs: file_get_translator: unmap the buffer, not its address
    
    In the symlink branch, the cleanup after a failed read calls
    munmap (trans, len), but trans is the routine's out parameter pointing
    at the caller's stack variable, not *trans, the buffer that was mmap'ed
    above when the caller-supplied one was too small.  The intended unmap
    never happens, the mapping leaks, and the munmap instead covers len
    bytes starting at a stack address.  Pass *trans.

commit 86b2dec1a144ed2a00c3aaad1d8658d3ef6efbe7
Author: davidbluntsrapper <[email protected]>
Date:   Wed Nov 18 17:35:30 2026 -0500

    libpager: record a page's read error before the kernel reports it
    
    When pager_read_page failed, data_request called
    memory_object_data_error and only then recorded the error in the
    pagemap, without holding the pager's interlock.  The kernel resumes
    the thread that faulted on the page as soon as it gets the error; if
    that thread is the translator's own, in pager_memcpy (io_read of a
    small range), its fault handler asks pager_get_error at once, can find
    no error yet, and then fails the assertion `n == 0', killing the
    translator.  A squashfs image with one damaged data block killed the
    translator in 1 of 60 walks; with a 20 ms pause between the two calls
    it did in 10 of 10.
    
    Record the error first, under the interlock (the pagemap can be
    resized under it meanwhile), and tell the kernel after.

commit 260311eb8b060f795ad5360a6efdd9d98d555641
Author: 7778777 <[email protected]>
Date:   Wed Nov 18 20:39:57 2026 +0100

    libbpf: reject jumps that go backwards
    
    bpf_validate checked a BPF_JA instruction with `from + p->k >= len'.
    K is a signed int, so a negative value passed, although the comment
    above the check says that jumps must be forward.  bpf_do_filter then
    runs `pc += pc->k' and the filter can loop for ever: one instruction,
    BPF_JA with k = -1, is enough.  Whoever can open a network device node
    could stall the thread that delivers frames, in eth-multiplexer and in
    every driver that links libbpf.
    
    The check now refuses a negative K, and compares K with the distance to
    the end of the program so that the sum cannot overflow.

commit d3a7fb107024952eac6df5b623aa34f01eb4798b
Author: davidbluntsrapper <[email protected]>
Date:   Wed Nov 18 10:15:32 2026 -0500

    fatfs: read the 32-bit boot sector fields as 32-bit values
    
    total_sectors_32 and, on FAT32, sectors_per_fat_32 are 4-byte fields,
    but both were read with read_word, which returns only their low 16
    bits.  A volume whose sector count is a multiple of 65536 failed to
    mount with "Number of total sectors is zero" (a 64 MiB image with
    512-byte sectors has 0x20000 sectors), and any other volume past 65535
    sectors got a truncated size.  Read both with read_dword.
    
    Tested with a 64 MiB FAT16 image (131072 sectors, so the 32-bit field
    is used): fatfs mounts it on a file store in the Hurd VM, and every
    file's size and sha256 match the host's.  FAT32 images now get past the
    boot sector, but their root directory still lists as empty; that is a
    separate problem this change does not address.

-----------------------------------------------------------------------

Summary of changes:
 fatfs/fat.c                | 4 ++--
 libbpf/bpf_impl.c          | 5 ++++-
 libdiskfs/file-get-trans.c | 2 +-
 libpager/data-request.c    | 5 ++++-
 pfinet/ethernet.c          | 8 +++++---
 sutils/fsck.c              | 4 ++--
 6 files changed, 18 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Hurd

Reply via email to