Revert "mtd: spinand: Fix OOB read"
Felix Fietkau authored
This reverts stable commit baad618d.

This commit is adding lines to spinand_write_to_cache_op, wheras the upstream
commit 868cbe2a

 that this was supposed to
backport was touching spinand_read_from_cache_op.
It causes a crash on writing OOB data by attempting to write to read-only
kernel memory.

Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
e138a9e4
Name Last commit Last update
Documentation USB: UAS: introduce a quirk to set no_write_same
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text
arch powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
block block: factor out requeue handling from dispatch code
certs export.h: remove VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR()
crypto crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
drivers Revert "mtd: spinand: Fix OOB read"
firmware Fix built-in early-load Intel microcode alignment
fs NFSv4: Fix a pNFS layout related use-after-free race when freeing the inode
include of: fix linker-section match-table corruption
init printk: reduce LOG_BUF_SHIFT range for H8300
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel module: delay kobject uevent until after module init call
lib random32: make prandom_u32() output unpredictable
mm mm/swapfile: do not sleep with a spin lock held
net lwt: Disable BH too in run_lwt_bpf()
samples samples: bpf: Fix lwt_len_hist reusing previous BPF map
scripts kconfig: fix return value of do_error_if()
security ima: Don't modify file descriptor mode on the fly
sound ALSA: pcm: Clear the full allocated memory at hw_params
tools perf record: Fix memory leak when using '--user-regs=?' to list registers
usr initramfs: restore default compression behavior
virt KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace
.clang-format clang-format: Set IndentWrappedFunctionNames false
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.